Module bonsaidb_core::permissions::bonsai
source · Expand description
Types used for granting permissions within BonsaiDb.
Enums
- Actions that can be permitted within BonsaiDb.
- Actions that operate on a specific database.
- Actions that operate on a document.
- Actions that use encryption keys.
- Actions that operate on the key-value store.
- Actions that operate on the
PubSub
system. - Actions that operate on a server.
- Actions that operate on transactions.
- Actions that operate on a view.
Functions
- Creates a resource name for
token_id
. - The base BonsaiDb resource namespace. All database objects have this as their first name segment.
- Creates a resource name for a
collection
within adatabase
. - Creates a resource name with the database
name
. - Creates a resource name for a document
id
withincollection
withindatabase
. - Creates a resource name for encryption key
key_id
. - Creates a resource name for
key
withinnamespace
within the key-value store ofdatabase
. - Creates a resource name for the key-value store in
database
. - Creates a resource name for
PubSub
topic
withindatabase
. - Creates a resource name for
role_id
. - Creates a resource name for
user_id
. - Creaets a resource name for a
view
withindatabase
.