feat(authz): Workspace.canInvite and Project.canInvite (#4419)

This commit is contained in:
Chuck Driesler
2025-04-16 09:01:53 +01:00
committed by GitHub
parent e31f4c5a47
commit cebae959ae
10 changed files with 283 additions and 54 deletions
@@ -1082,7 +1082,9 @@ describe('Workspaces GQL CRUD', () => {
})
expect(deleteRes).to.not.haveGraphQLErrors()
expect(getRes).to.haveGraphQLErrors('Workspace not found')
expect(getRes).to.haveGraphQLErrors(
'You are not authorized to access this resource'
)
})
it('should throw if non-workspace-admin triggers delete', async () => {