mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-15 17:50:48 +02:00
fix: remove unused permissions
This commit is contained in:
parent
f032445d3d
commit
645621a0df
@ -346,13 +346,7 @@ test('should require name when create default roles to project', async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('should grant user access to project', async () => {
|
test('should grant user access to project', async () => {
|
||||||
const {
|
const { DELETE_PROJECT, UPDATE_PROJECT } = permissions;
|
||||||
DELETE_PROJECT,
|
|
||||||
UPDATE_PROJECT,
|
|
||||||
CREATE_FEATURE,
|
|
||||||
UPDATE_FEATURE,
|
|
||||||
DELETE_FEATURE,
|
|
||||||
} = permissions;
|
|
||||||
const project = 'another-project';
|
const project = 'another-project';
|
||||||
const user = editorUser;
|
const user = editorUser;
|
||||||
const sUser = await createUserViewerAccess(
|
const sUser = await createUserViewerAccess(
|
||||||
|
Loading…
Reference in New Issue
Block a user