Implement security and access management for AI Builder applications with RBAC
Accessing RBAC Settings
Defining Roles
auth
section allows you to automatically assign roles based on authentication providers.Creating Rules
true
to make this a deny rule instead of allowAdding Conditions
Public Access
role
specified apply to everyone, including unauthenticated users.Role-Based Access
API Key Permissions
fetch
instruction :Automatic assignment
Workspaces
workspaces
Actions :read
: allows reading the workspace configurationupdate
: allows updating the workspace configurationdelete
: allows deleting the workspacemanage_security
: allows updating security configurationmanage_permissions
: allows sharing / unsharingaggregate_search
: allows using /search APIget_usage
: allows using /usage APImanage_repositories
: allows managing repositories settingsmanage
: allows all above actionsPages
pages
Actions :create
: allows creating a pageread
: allows reading pagesupdate
: allows updating pagesdelete
: allows deleting pagesmanage
: allows all above actionsFiles
files
Actions :create
: allows uploading a fileread
: allows reading filesupdate
: allows updating filesdelete
: allows deleting filesmanage
: allows all above actionsEvents
events
Actions :create
: allows emitting an eventread
: allows reading eventsmanage
: allows all above actionsAutomations
automations
Actions :create
: allows creating an automationread
: allows reading automationsupdate
: allows updating automationsdelete
: allows deleting automationsexecute
: allows executing automationsmanage
: allows all above actionsSecrets
secrets
Actions :create
: allows creating secretsread
: allows reading secretsupdate
: allows updating secretsdelete
: allows deleting secretsmanage
: allows all above actionsApps
apps
Actions :create
: allows publishing an appread
: allows viewing/installing appsupdate
: allows updating appsdelete
: allows deleting appsmanage
: allows all above actionsDefine Authorization Action
authorizations.action
field specifies a permission key for this automation.Create Permission Rule
Test the Restriction
External API Keys
x-prismeai-api-key
header :Workspace API Keys
Full RBAC Example
Give users only the permissions they actually need:
Carefully control what unauthenticated users can do:
Secure automations that access sensitive data:
Control programmatic access carefully:
Access Denied Unexpectedly
Too Much Access