Skip to content

Commit 3145edb

Browse files
authored
[Perspectives] Add prefix for studio permissions (#935)
* add prefix for studio permissions * add translations prefix for studio permissions * add translations prefix for studio permissions
1 parent 6bf395b commit 3145edb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Util/Constant/UserPermissions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum UserPermissions: string
3333
case NOTIFICATIONS = 'notifications';
3434
case NOTIFICATIONS_SEND = 'notifications_send';
3535
case OBJECTS_SORT_METHOD = 'objects_sort_method';
36-
case PERSPECTIVE_EDITOR = 'perspective_editor';
36+
case PERSPECTIVE_EDITOR = 'studio_perspective_editor';
3737
case PIMCORE_ADMIN = 'ROLE_PIMCORE_ADMIN';
3838
case PIMCORE_USER = 'ROLE_PIMCORE_USER';
3939
case PREDEFINED_PROPERTIES = 'predefined_properties';
@@ -42,5 +42,5 @@ enum UserPermissions: string
4242
case TAGS_SEARCH = 'tags_search';
4343
case THUMBNAILS = 'thumbnails';
4444
case USER_MANAGEMENT = 'users';
45-
case WIDGET_EDITOR = 'perspective_widget_editor';
45+
case WIDGET_EDITOR = 'studio_perspective_widget_editor';
4646
}

translations/admin.en.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
perspective_editor: Perspective Editor
2-
perspective_widget_editor: Widget Editor
1+
studio_perspective_editor: Studio Perspective Editor
2+
studio_perspective_widget_editor: Studio Widget Editor

0 commit comments

Comments
 (0)