mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
task: added release plan template permissions to permissions.ts (#8708)
This commit is contained in:
parent
60ae9ac4c4
commit
92f7acbfc4
@ -73,6 +73,14 @@ export const PROJECT_USER_ACCESS_WRITE = 'PROJECT_USER_ACCESS_WRITE';
|
||||
export const PROJECT_DEFAULT_STRATEGY_WRITE = 'PROJECT_DEFAULT_STRATEGY_WRITE';
|
||||
export const PROJECT_CHANGE_REQUEST_WRITE = 'PROJECT_CHANGE_REQUEST_WRITE';
|
||||
export const PROJECT_SETTINGS_WRITE = 'PROJECT_SETTINGS_WRITE';
|
||||
|
||||
export const RELEASE_PLAN_TEMPLATE_VIEW_OVERVIEW =
|
||||
'RELEASE_PLAN_TEMPLATE_VIEW_OVERVIEW';
|
||||
export const RELEASE_PLAN_TEMPLATE_VIEW = 'RELEASE_PLAN_TEMPLATE_VIEW';
|
||||
export const RELEASE_PLAN_TEMPLATE_CREATE = 'RELEASE_PLAN_TEMPLATE_CREATE';
|
||||
export const RELEASE_PLAN_TEMPLATE_UPDATE = 'RELEASE_PLAN_TEMPLATE_UPDATE';
|
||||
export const RELEASE_PLAN_TEMPLATE_DELETE = 'RELEASE_PLAN_TEMPLATE_DELETE';
|
||||
|
||||
export const ROOT_PERMISSION_CATEGORIES = [
|
||||
{
|
||||
label: 'Addon',
|
||||
@ -123,4 +131,14 @@ export const ROOT_PERMISSION_CATEGORIES = [
|
||||
label: 'Tag type',
|
||||
permissions: [CREATE_TAG_TYPE, UPDATE_TAG_TYPE, DELETE_TAG_TYPE],
|
||||
},
|
||||
{
|
||||
label: 'Release plan templates',
|
||||
permissions: [
|
||||
RELEASE_PLAN_TEMPLATE_VIEW_OVERVIEW,
|
||||
RELEASE_PLAN_TEMPLATE_VIEW,
|
||||
RELEASE_PLAN_TEMPLATE_CREATE,
|
||||
RELEASE_PLAN_TEMPLATE_DELETE,
|
||||
RELEASE_PLAN_TEMPLATE_UPDATE,
|
||||
],
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user