Skip to main content

Granular Role-Based Permissions

Overview

AnyDB uses a role-based access control (RBAC) model to help you define fine-grained permissions across your workspace. Each role controls who can view, create, update, or delete resources like databases, documents, users, groups, and more.

How It Works

Each role defines access types and permission levels for different resource scopes:

  • Access Types: Self, Admin, Attached, Users, Share
  • Permission Levels: Read, Update, Create, Delete

Permissions can be applied independently to:

  • Databases
  • Teams
  • Documents
  • Groups
  • Users

Roles can be assigned to users or groups to enforce consistent access rules across the workspace.


Access Types

Access TypeDescription
SelfData or records created or owned by the user
AdminThe user is an admin for this scope
AttachedItems that are attached to or linked from a record
UsersGeneral team users not explicitly scoped otherwise
SharePublic or guest access through shared links

Permission Levels

PermissionDescription
ReadView access only
UpdateEdit or modify existing content
CreateAbility to add new items or resources
DeleteAbility to remove existing resources

Each permission is marked with a ✅ (allowed) or ❌ (denied) per scope/type.


Example: Denied Access Role

The Denied Access role revokes all permissions across all scopes. This is used to explicitly block users or guests from viewing or interacting with any part of a workspace.

ScopeAll Access TypesPermissions
Database❌ Read, Update, Create, Delete
Team❌ Read, Update, Create, Delete
Document❌ Read, Update, Create, Delete
Group❌ Read, Update, Create, Delete
User❌ Read, Update, Create, Delete

Tips for Admins

  • Use custom roles to give contributors limited edit or view access
  • Apply group-based permissions for scalable access control
  • Use the Denied role in combination with group or share rules to restrict fallback access
  • Review role settings regularly in the Roles panel under Team Settings

Best For

  • Admins managing access across large or multi-team databases
  • Workspaces with public forms or shared documents
  • Roles like Viewer, Contributor, Editor, Manager