Docs Menu
Docs Home
/ /

組み込みロール

MongoDB grants access to data and commands through role-based authorization. MongoDB provides built-in roles that grant the different levels of access commonly needed in a database system.

ロールは定義されたリソースに対して一連のアクションを実行する権限を付与します。所定のロールは、そのロールが定義されているデータベースに適用され、コレクション レベルの詳細なアクセス権を付与できます。

MongoDB の組み込みロールのそれぞれは、ロールのデータベース内のすべての非システム コレクションに対するデータベース レベルのアクセスと、すべてのシステム コレクションに対するコレクション レベルのアクセスを定義します。

システム コレクションには、次のものが含まれます。

  • <database>.system.* namespace

  • local.replset.* レプリカセットの名前空間

非システム コレクションは、前のリストの名前空間にないコレクションです。

Although MongoDB Atlas database users have different built-in roles than self-hosted deployment users, MongoDB builds the built-in roles for each type of deployment from the same set of privilege actions.

Use the selector at the top of the page to choose your deployment type and see the available built-in roles.

戻る

Atlas でのデータベースユーザーの設定