appy-one / acebase-server

A fast, low memory, transactional, index & query enabled NoSQL database server for node.js that easily syncs with browser and node.js clients and servers
MIT License
32 stars 14 forks source link

Create Index with Authentication Disabled #26

Closed appy-one closed 2 years ago

appy-one commented 2 years ago

Indexes should be able to be managed from clients if authentication has been disabled on the server

Discussed in https://github.com/appy-one/acebase-server/discussions/24

Originally posted by **kawfeebassie** June 30, 2022 I am using AceBase Server as a private database in a docker environment with Node-Red. I have authentication turned off since I implement security in Node-Red and figured it would reduce overhead on database requests. However, when I attempt to create an index I get an error that it can only be performed by an 'Admin'. Is this a defect, or by design? Is there a way to connect as 'Admin' with the AceBase client with authentication disabled.
appy-one commented 2 years ago

Referenced commit above should fix this issue, I'll publish a new version after some more testing later

appy-one commented 2 years ago

I published v1.12.0, which should fix this issue. Let me know if all works well!

Spread the word contribute Sponsor AceBase