Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Add permissions constants

Smaug67392da9da541366
diff --git a/frontend/app/composables/constants.ts b/frontend/app/composables/constants.ts
index acff912b..ef65aa0a 100644
--- a/frontend/app/composables/constants.ts
+++ b/frontend/app/composables/constants.ts
@@ -29,3 +29,9 @@ export const CATEGORY_ROLES = [
{ id: 1, label: 'Workspace' },
{ id: 2, label: 'Category' },
];
+
+export const NODE_PERMISSIONS = [
+ { label: 'Viewer', id: 1 },
+ { label: 'Editor', id: 2 },
+ { label: 'Admin', id: 3 },
+];