Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
Security 2020-06-29
Description
It would be great to be able to use wildcard collections when creating privileges for user roles, for example:
db.createRole(
|
{
|
role: "manageCustomCollections", |
privileges: [
|
{ resource: { db: "data", collection: "custom.*" }, actions: [ "find", "update", "insert", "remove" ] } |
],
|
...
|
}
|
)
|
This would make it easier for administrators to manage permissions for a set of collections by removing the need to explicitly specify each collection.
Attachments
Issue Links
- is duplicated by
-
SERVER-22951 Using regexp patterns for resource scope in user-defined roles
-
- Backlog
-