diff --git a/apps/web/src/schema/identity/token/model.ts b/apps/web/src/schema/identity/token/model.ts index 6b5b57f1bb..3134eb2670 100644 --- a/apps/web/src/schema/identity/token/model.ts +++ b/apps/web/src/schema/identity/token/model.ts @@ -12,5 +12,4 @@ export interface TokenGrantModel { role_id: string; domain_id: string; workspace_id: string; - page_access: string[]; } diff --git a/apps/web/src/services/advanced/components/WorkspaceGroupHeader.vue b/apps/web/src/services/advanced/components/WorkspaceGroupHeader.vue index 75b0640bd5..5112d4cf06 100644 --- a/apps/web/src/services/advanced/components/WorkspaceGroupHeader.vue +++ b/apps/web/src/services/advanced/components/WorkspaceGroupHeader.vue @@ -6,6 +6,14 @@ import { i18n } from '@/translations'; import { WORKSPACE_GROUP_MODAL_TYPE } from '@/services/advanced/constants/workspace-group-constant'; import { useWorkspaceGroupPageStore } from '@/services/advanced/store/workspace-group-page-store'; +interface Props { + hasReadWriteAccess: boolean +} + +const props = withDefaults(defineProps(), { + hasReadWriteAccess: true, +}); + const workspaceGroupPageStore = useWorkspaceGroupPageStore(); const workspaceGroupState = workspaceGroupPageStore.state; @@ -25,7 +33,9 @@ const handleCreateButtonClick = () => { use-total-count :total-count="workspaceGroupState.totalCount" > -