Skip to content

Roles and permission

Here is the revised document based on the code you provided:


Roles and Permissions in undb

This document outlines the roles and their associated permissions in undb. The permissions are categorized by functionality areas, including Space, Base, Table, Form, Field, Record, Webhook, Sharing, and Authorization.

Space Permissions

ActionOwnerAdminEditorViewer
List all spaces
Read space details
Update space
Delete a space

Base Permissions

ActionOwnerAdminEditorViewer
Create a base
List all bases
Delete a base
Read base details
Update a base

Table Permissions

ActionOwnerAdminEditorViewer
Create a table
List all tables
Delete a table
Read table details
Update a table

Form Permissions

ActionOwnerAdminEditorViewer
Create a form
List all forms
Delete a form
Read form details
Update a form

Field Permissions

ActionOwnerAdminEditorViewer
Create a field
Update a field
Delete a field

Record Permissions

ActionOwnerAdminEditorViewer
Create a record
List all records
Delete a record
Read record details
Update a record
Download record

Webhook Permissions

ActionOwnerAdminEditorViewer
Create a webhook
Update a webhook
Delete a webhook
List all webhooks

Sharing Permissions

ActionOwnerAdminEditorViewer
Disable sharing
View sharing options
Share table
Share base
Share form

Authorization Permissions

ActionOwnerAdminEditorViewer
Invite users
List all invitations
Delete an invitation

This updated document reflects the structure and permissions defined in the code snippet provided.