diff --git a/src/lib/types/permissions.ts b/src/lib/types/permissions.ts index e9b02e92971e..245526ca2b3e 100644 --- a/src/lib/types/permissions.ts +++ b/src/lib/types/permissions.ts @@ -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, + ], + }, ];