Files
speckle-server/packages/server/modules/workspaces/scopes.ts
T
Gergő Jedlicska 7c16abc8eb feat(workspace): 1119 define workspaces dataschema (#2431)
* feat(workspaces): add workspaces module with roles and scopes

* feat(workspaces): add domain, graphql and persistent storage dataschema

* fix(workspaces): correct db injections

* chore(workspaces): add EE license

* chore(license): mentions workspaces separately in license file

* fix(core): roles import in migration

* fix(workspaces): drop workspace_acl on down migration

* fix(workspaces): roles constants

* fix(workspaces): coding standards

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-06-26 17:00:56 +02:00

21 lines
535 B
TypeScript

import { TokenScopeData } from '@/modules/shared/domain/rolesAndScopes/types'
import { Scopes } from '@speckle/shared'
export const workspaceScopes: TokenScopeData[] = [
{
name: Scopes.Workspaces.Create,
description: 'Required for the creation of a workspace',
public: true
},
{
name: Scopes.Workspaces.Update,
description: 'Required for editing workspace information',
public: true
},
{
name: Scopes.Workspaces.Delete,
description: 'Required for deleting workspaces',
public: true
}
]