Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): review changes

Ramesh Mane82259f87414a
diff --git a/packages/nc-gui/components/roles/SelectorV2.vue b/packages/nc-gui/components/roles/SelectorV2.vue
index bd20aef260..4ee3da373c 100644
--- a/packages/nc-gui/components/roles/SelectorV2.vue
+++ b/packages/nc-gui/components/roles/SelectorV2.vue
@@ -97,8 +97,9 @@ const roleSelectorOptions = computed<NcListItemType[]>(() => {
'min-w-50': !description,
'min-w-80': description,
}"
+ :isLocked="!!newRole"
variant="default"
- wrapper-class-name="!h-auto nc-role-selector-dropdown"
+ :wrapper-class-name="`!h-auto nc-role-selector-dropdown ${!!newRole ? '!cursor-wait' : ''}`"
@update:value="onChangeRole"
@escape="onEsc"
>
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json
index 7627c0aea8..7780debd75 100644
--- a/packages/nc-gui/lang/en.json
+++ b/packages/nc-gui/lang/en.json
@@ -513,18 +513,18 @@
"orgLevelViewer": "Organization Level Viewer"
},
"roleDescription": {
- "workspace-level-owner": "Can fully configure and edit workspace bases and manage workspace settings and billing",
- "workspace-level-creator": "Can fully configure and edit workspace bases",
- "workspace-level-editor": "Can add, edit, and delete records, but cannot configure the workspace bases",
- "workspace-level-commenter": "Can view and comment on records in workspace bases",
- "workspace-level-viewer": "Can only view records workspace bases",
- "workspace-level-no-access": "Cannot access this workspace",
- "owner": "Has complete control, including full configuration and deletion of the base",
- "creator": "Has full configuration access for the base, except deletion rights",
- "editor": "Can add, edit, and delete records, but cannot configure the base",
- "commenter": "Can view and comment on records",
- "viewer": "Can view records only",
- "no-access": "Cannot access this base",
+ "workspace-level-owner": "Has full control over all workspace bases, settings, and billing",
+ "workspace-level-creator": "Can create, configure, and edit all bases within the workspace",
+ "workspace-level-editor": "Can add, edit, and delete records, but cannot modify base configurations",
+ "workspace-level-commenter": "Can view and comment on records within workspace bases",
+ "workspace-level-viewer": "Can only view records within workspace bases",
+ "workspace-level-no-access": "No access to this workspace",
+ "owner": "Has full control over the base, including configuration and deletion rights",
+ "creator": "Can fully configure the base but cannot delete it",
+ "editor": "Can add, edit, and delete records, but cannot modify base configurations",
+ "commenter": "Can view and comment on records within the base",
+ "viewer": "Can only view records within the base",
+ "no-access": "No access to this base",
"super": "Full access to all",
"org-level-creator": "Can fully configure and edit bases",
"org-level-viewer": "Can only view records in bases",
diff --git a/packages/nocodb-sdk/src/lib/enums.ts b/packages/nocodb-sdk/src/lib/enums.ts
index 8a04432823..fbf043cf19 100644
--- a/packages/nocodb-sdk/src/lib/enums.ts
+++ b/packages/nocodb-sdk/src/lib/enums.ts
@@ -298,28 +298,27 @@ export const RoleColors = {
export const RoleDescriptions = {
[WorkspaceUserRoles.OWNER]:
- 'Can fully configure and edit workspace bases and manage workspace settings and billing',
- [WorkspaceUserRoles.CREATOR]: 'Can fully configure and edit workspace bases',
+ 'Has full control over all workspace bases, settings, and billing',
+ [WorkspaceUserRoles.CREATOR]:
+ 'Can create, configure, and edit all bases within the workspace',
[WorkspaceUserRoles.EDITOR]:
- 'Can add, edit, and delete records, but cannot configure the workspace bases',
+ 'Can add, edit, and delete records, but cannot modify base configurations',
[WorkspaceUserRoles.COMMENTER]:
- 'Can view and comment on records in workspace bases',
- [WorkspaceUserRoles.VIEWER]: 'Can only view records workspace bases',
- [WorkspaceUserRoles.NO_ACCESS]: 'Cannot access this workspace',
+ 'Can view and comment on records within workspace bases',
+ [WorkspaceUserRoles.VIEWER]: 'Can only view records within workspace bases',
+ [WorkspaceUserRoles.NO_ACCESS]: 'No access to this workspace',
[ProjectRoles.OWNER]:
- 'Has complete control, including full configuration and deletion of the base',
- [ProjectRoles.CREATOR]:
- 'Has full configuration access for the base, except deletion rights',
+ 'Has full control over the base, including configuration and deletion rights',
+ [ProjectRoles.CREATOR]: 'Can fully configure the base but cannot delete it',
[ProjectRoles.EDITOR]:
- 'Can add, edit, and delete records, but cannot configure the base',
- [ProjectRoles.COMMENTER]: 'Can view and comment on records',
- [ProjectRoles.VIEWER]: 'Can view records only',
- [ProjectRoles.NO_ACCESS]: 'Cannot access this base',
+ 'Can add, edit, and delete records, but cannot modify base configurations',
+ [ProjectRoles.COMMENTER]: 'Can view and comment on records within the base',
+ [ProjectRoles.VIEWER]: 'Can only view records within the base',
+ [ProjectRoles.NO_ACCESS]: 'No access to this base',
[OrgUserRoles.SUPER_ADMIN]: 'Full access to all',
- [OrgUserRoles.CREATOR]:
- 'Can fully configure and edit bases',
+ [OrgUserRoles.CREATOR]: 'Can fully configure and edit bases',
[OrgUserRoles.VIEWER]: 'Can only view records in bases',
[CloudOrgUserRoles.OWNER]: 'Full access to organization and workspaces',