ReadWriteAnyDatabase provides users with the same read and write permissions as readWrite, except it applies to alllogical databases in the MongoDB environment. ![]() ReadAnyDatabase provides users with the same read-only permissions as read, except it applies to all logical databases in the MongoDB environment. ![]() However, only the specification of the roles must occur in the admin database, with delegated authentication credentials, users can gain these privileges by authenticating to another database. If you add any of these roles to a user privilege document outside of the admin database, the privilege will have no effect. These roles apply to all databases in a mongod instance and are roughly equivalent to their single-database equivalents. You must specify the following “any” database roles on the admin databases. See the Combined Access section for more information. You must specify this access separately from clusterAdmin. Specifically, users with the clusterAdmin role have access to the following operations:įor some cluster administration operations, MongoDB requires read and write access to the local or config databases. These privileges include but are not limited to replica set and sharded cluster administrative functions.ĬlusterAdmin is only applicable on the admin database, and does not confer any access to the local or config databases. renameCollection (within the same database.)ĬlusterAdmin grants access to several administration operations that affect or present information about the whole system, rather than just a single database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |