liveBook · Manning

Custom role

A custom role is a user-defined authorization role with an explicitly selected set of permissions or privileges.

How 3 Manning books explain it

MongoDB 8.0 in Action, Third Edition

A custom role is a database role whose privileges are explicitly defined rather than inherited solely from a built-in role.

How it is used
Restricts MongoDB access to the actions, databases, and collections required by each user or application.
How deep it goes
Explains privilege scope, database placement, inheritance limits, and operational scenarios without detailing full role-management workflows.
Examples
Uses collection-level UPDATE and FIND privileges plus an analytics role inheriting read access.
What you can do after
Configure MongoDB access with narrowly scoped privileges and database-appropriate role inheritance.

Read how MongoDB 8.0 in Action, Third Edition explains custom role →

Azure Security

A custom role is an authorization configuration that grants a specifically selected set of permissions to users or other identities.

How it is used
Deploys granular Azure RBAC authorization when built-in roles would overpermission users or require multiple role assignments.
How deep it goes
Explains permission fields, scope selection, JSON creation, Azure CLI commands, assignment, and wildcard risks.
Examples
Uses a Restart Virtual Machines role, JSON permission definitions, Azure CLI commands, and representative creation and assignment output.
What you can do after
Build it from scratch by defining, creating, and assigning a least-privilege Azure RBAC role with JSON and Azure Cloud Shell.

Read how Azure Security explains custom role →

100 SQL Server Mistakes and How to Avoid Them

A custom role is a user-defined SQL Server role with specifically selected permissions for a required task.

How it is used
Deploys narrowly scoped permissions when fixed server or database roles do not match a required task.
How deep it goes
Defines custom server and database roles, shows permission assignments, and cautions against overloading model.
Examples
Uses failover permissions and stored-procedure execution as concrete custom-role scenarios.
What you can do after
Build it from scratch using T-SQL grants and membership changes for narrowly defined server or database tasks.

Read how 100 SQL Server Mistakes and How to Avoid Them explains custom role →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.