Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex StoreDoc
  • Getting started
    • Resource relationships
    • Networking in Yandex StoreDoc
    • Quotas and limits
    • Storage in Yandex StoreDoc
    • Backups
    • Replication and fault tolerance
    • Sharding
    • Users and roles
    • Maintenance
    • Supported clients
    • Yandex StoreDoc settings
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Database user roles
  • read
  • readWrite
  • mdbDbAdmin
  • Cluster administrator roles
  • mdbMonitor
  • mdbShardingManager
  1. Concepts
  2. Users and roles

Users and roles in Yandex StoreDoc

Written by
Yandex Cloud
Updated at October 30, 2025
  • Database user roles
    • read
    • readWrite
    • mdbDbAdmin
  • Cluster administrator roles
    • mdbMonitor
    • mdbShardingManager

The data in Yandex StoreDoc is handled on behalf of the cluster users. To differentiate user access permissions, the role model is used. To grant any form of access permissions for a database, issue a relevant role for this database to the user.

Database user rolesDatabase user roles

These are regular roles available to any user database.

readread

Users with the read role have the read access to all non-system collections in the database and to the system.js collection.

readWritereadWrite

Users with the readWrite role have the write and read access to all non-system collections in the database and to the system.js collection.

mdbDbAdminmdbDbAdmin

Database administrator role. Grants the user the readWrite role permissions, as well as the permissions required for database administration:

  • collMod
  • planCacheWrite
  • planCacheRead
  • planCacheIndexFilter allows you to use the planCacheListFilters, planCacheClearFilters, and planCacheSetFilter commands.
  • bypassDocumentValidation

Cluster administrator rolesCluster administrator roles

These roles are required for cluster monitoring and administration. They are assigned for the privileged MongoDB admin database.

mdbMonitormdbMonitor

This role is required for collecting statistics and monitoring. It grants the following permissions to the user:

  • Working with the cluster:

    • connPoolStats
    • getLog
    • getParameter
    • getShardMap
    • hostInfo
    • inprog
    • listDatabases
    • listSessions
    • listShards
    • netstat
    • replSetGetConfig
    • replSetGetStatus
    • serverStatus
    • shardingState
    • top
  • Working with all databases in the cluster:

    • collStats
    • dbStats
    • getShardVersion
    • indexStats
    • useUUID
  • Working with all system.profile collections in all databases:

    • find
  • Working with the system.indexes, and system.js, system.namespaces collections of the local and config databases:

    • collStats
    • dbHash
    • dbStats
    • find
    • killCursors
    • listCollections
    • listIndexes
    • planCacheRead

mdbShardingManagermdbShardingManager

This role is used for managing cluster sharding. It grants the following permissions to the user:

  • Working with the admin database:

    • viewRole
  • Working with any resource in the cluster:

    • enableSharding
    • flushRouterConfig
    • getShardVersion
    • getShardMap
    • shardingState
    • moveChunk
    • splitChunk
    • splitVector
  • Working with the config database:

    • find

Was the article helpful?

Previous
Sharding
Next
Maintenance
© 2025 Direct Cursus Technology L.L.C.