TanmoySG / wunderDB

A micro JSON-based Data Store inspired by MongoDB.
http://wdb.tanmoysg.com/api/
Apache License 2.0
12 stars 0 forks source link

Default Permissions for Entity Creator #102

Closed TanmoySG closed 1 year ago

TanmoySG commented 1 year ago

Creator of a Database currently needs to be granted role with permissions on the created Database, for the user to be able to use the database.

In this Feature, "default" role for "database-admin" with relevant permissions will be added (just like wdb-super-admin) and when a user will create an entity the "entity-admin" (currently only database-admin) will be granted by default and no explicit request would be required to grant the creator with custom admin role.

TanmoySG commented 1 year ago

database-admin system role

Privileges granted through this role

Requires username-password for same