11package com .objectcomputing .checkins .security .permissions ;
22
33public enum Permissions {
4- CAN_VIEW_FEEDBACK_REQUEST ,
5- CAN_CREATE_FEEDBACK_REQUEST ,
6- CAN_DELETE_FEEDBACK_REQUEST ,
7- CAN_VIEW_FEEDBACK_ANSWER ,
8- CAN_DELETE_ORGANIZATION_MEMBERS ,
9- CAN_CREATE_ORGANIZATION_MEMBERS ,
10- CAN_VIEW_ROLE_PERMISSIONS ,
11- CAN_ASSIGN_ROLE_PERMISSIONS ,
12- CAN_VIEW_PERMISSIONS ,
13- CAN_VIEW_SKILLS_REPORT ,
14- CAN_VIEW_RETENTION_REPORT ,
15- CAN_VIEW_ANNIVERSARY_REPORT ,
16- CAN_VIEW_BIRTHDAY_REPORT ,
17- CAN_VIEW_PROFILE_REPORT ,
18- CAN_CREATE_CHECKINS ,
19- CAN_VIEW_CHECKINS ,
20- CAN_UPDATE_CHECKINS ,
21- }
4+ CAN_VIEW_FEEDBACK_REQUEST ("View feedback requests" , "Feedback" ),
5+ CAN_CREATE_FEEDBACK_REQUEST ("Create feedback requests" , "Feedback" ),
6+ CAN_DELETE_FEEDBACK_REQUEST ("Delete feedback requests" , "Feedback" ),
7+ CAN_VIEW_FEEDBACK_ANSWER ("View feedback answers" , "Feedback" ),
8+ CAN_DELETE_ORGANIZATION_MEMBERS ("Delete organization members" , "User Management" ),
9+ CAN_CREATE_ORGANIZATION_MEMBERS ("Create organization members" , "User Management" ),
10+ CAN_VIEW_ROLE_PERMISSIONS ("View role permissions" , "Security" ),
11+ CAN_ASSIGN_ROLE_PERMISSIONS ("Assign role permissions" , "Security" ),
12+ CAN_VIEW_PERMISSIONS ("View all permissions" , "Security" ),
13+ CAN_VIEW_SKILLS_REPORT ("View skills report" , "Reporting" ),
14+ CAN_VIEW_RETENTION_REPORT ("View retention report" , "Reporting" ),
15+ CAN_VIEW_ANNIVERSARY_REPORT ("View anniversary report" , "Reporting" ),
16+ CAN_VIEW_BIRTHDAY_REPORT ("View birthday report" , "Reporting" ),
17+ CAN_VIEW_PROFILE_REPORT ("View profile report" , "Reporting" ),
18+ CAN_CREATE_CHECKINS ("Create check-ins" , "Check-ins" ),
19+ CAN_VIEW_CHECKINS ("View check-ins" , "Check-ins" ),
20+ CAN_UPDATE_CHECKINS ("Update check-ins" , "Check-ins" );
21+
22+ private final String description ;
23+ private final String category ;
24+
25+ Permissions (String description , String category ) {
26+ this .description = description ;
27+ this .category = category ;
28+ }
29+
30+ public String getDescription () {
31+ return description ;
32+ }
33+
34+ public String getCategory () {
35+ return category ;
36+ }
37+ }
0 commit comments