Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 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
    • High availability clusters
    • Sharding
    • Host types
    • Users and roles
    • Maintenance
    • Supported clients
    • Yandex StoreDoc settings
    • Yandex StoreDoc versioning policy
  • 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 June 29, 2026
View in Markdown
  • 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:

  • 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
Host types
Next
Maintenance
© 2026 Direct Cursus Technology L.L.C.