View Javadoc
1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.student.kim.permission.map;
6   
7   /**
8    *
9    * @author nwright
10   */
11  public class KimPermissionConstants {
12  
13      public static final String PERMISSION_SERVICE_NAME_LOCAL_PART = "permissionService";
14      public static final String PERMISSION_SERVICE_NAMESPACE = "http://rice.kuali.org/kim/v2_0";
15      /**
16       * Kim Type IDs
17       * These are used to control the comparison of qualifiers
18       * The default one does a simple match, i.e. no hierarchy checks
19       */
20      public static final String DEFAULT_KIM_TYPE_ID = "0";
21      public static final String KRAD_VIEW_KIM_TYPE_ID = "68";
22      public static final String DEFAULT_KUALI_KIM_TYPE_ID = "1";
23      
24      /**
25       * Namespaces
26       */
27      public static final String KS_ENRL_NAMESPACE = "KS-ENRL";
28      public static final String KS_SYS_NAMESPACE = "KS-SYS";
29      public static final String KS_LUM_NAMESPACE = "KS-CM";
30      public static final String KUALI_NAMESPACE = "KUALI";
31      public static final String KR_BUS_NAMESPACE = "KR-BUS";
32      public static final String KR_IDM_NAMESPACE = "KR-IDM";
33      public static final String KR_KRAD_NAMESPACE = "KR-KRAD";
34      public static final String KR_NS_NAMESPACE = "KR-NS";
35      public static final String KR_NTFCN_NAMESPACE = "KR-NTFCN";
36      public static final String KR_RULE_NAMESPACE = "KR-RULE";
37      public static final String KR_RULE_TEST_NAMESPACE = "KR-RULE-TEST";
38      public static final String KR_SYS_NAMESPACE = "KR-SYS";
39      public static final String KR_WORKFLOW_NAMESPACE = "KR-WKFLW";
40      
41      /**
42       * Attribute definition
43       */
44      public static final String SUBJECT_AREA_ATTR_DEFINITION = "subjectArea";
45      public static final String DEPARTMENT_ATTR_DEFINITION = "department";
46      public static final String VIEW_ID_ATTR_DEFINITION = "viewId";
47      /**
48       * Permissions
49       */
50      public static final String CREATE_COURSEOFFERING_PERMISSION = "Create CourseOffering";
51      public static final String READ_COURSEOFFERING_PERMISSION = "Read CourseOffering";
52      public static final String UPDATE_COURSEOFFERING_PERMISSION = "Update CourseOffering";
53      public static final String DELETE_COURSEOFFERING_PERMISSION = "Delete CourseOffering";
54      public static final String CREATE_FORMATOFFERING_PERMISSION = "Create FormatOffering";
55      public static final String READ_FORMATOFFERING_PERMISSION = "Read FormatOffering";
56      public static final String UPDATE_FORMATOFFERING_PERMISSION = "Update FormatOffering";
57      public static final String DELETE_FORMATOFFERING_PERMISSION = "Delete FormatOffering";
58      public static final String CREATE_ACTIVITYOFFERING_PERMISSION = "Create ActivityOffering";
59      public static final String READ_ACTIVITYOFFERING_PERMISSION = "Read ActivityOffering";
60      public static final String UPDATE_ACTIVITYOFFERING_PERMISSION = "Update ActivityOffering";
61      public static final String DELETE_ACTIVITYOFFERING_PERMISSION = "Delete ActivityOffering";
62      public static final String CREATE_ACTIVITYOFFERINGCLUSTER_PERMISSION = "Create ActivityOfferingCluster";
63      public static final String READ_ACTIVITYOFFERINGCLUSTER_PERMISSION = "Read ActivityOfferingCluster";
64      public static final String UPDATE_ACTIVITYOFFERINGCLUSTER_PERMISSION = "Update ActivityOfferingCluster";
65      public static final String DELETE_ACTIVITYOFFERINGCLUSTER_PERMISSION = "Delete ActivityOfferingCluster";
66      public static final String CREATE_REGISTRATIONGROUP_PERMISSION = "Create RegistrationGroup";
67      public static final String READ_REGISTRATIONGROUP_PERMISSION = "Read RegistrationGroup";
68      public static final String UPDATE_REGISTRATIONGROUP_PERMISSION = "Update RegistrationGroup";
69      public static final String DELETE_REGISTRATIONGROUP_PERMISSION = "Delete RegistrationGroup";
70      public static final String CREATE_SOC_PERMISSION = "Create Soc";
71      public static final String READ_SOC_PERMISSION = "Read Soc";
72      public static final String UPDATE_SOC_PERMISSION = "Update Soc";
73      public static final String DELETE_SOC_PERMISSION = "Delete Soc";
74      public static final String ROLLOVER_SOC_PERMISSION = "rollover Soc";
75      public static final String CREATE_SOCROLLOVERRESULT_PERMISSION = "Create SocRolloverResult";
76      public static final String READ_SOCROLLOVERRESULT_PERMISSION = "Read SocRolloverResult";
77      public static final String UPDATE_SOCROLLOVERRESULT_PERMISSION = "Update SocRolloverResult";
78      public static final String DELETE_SOCROLLOVERRESULT_PERMISSION = "Delete SocRolloverResult";
79      public static final String CREATE_SOCROLLOVERRESULTITEM_PERMISSION = "Create SocRolloverResultItem";
80      public static final String READ_SOCROLLOVERRESULTITEM_PERMISSION = "Read SocRolloverResultItem";
81      public static final String UPDATE_SOCROLLOVERRESULTITEM_PERMISSION = "Update SocRolloverResultItem";
82      public static final String DELETE_SOCROLLOVERRESULTITEM_PERMISSION = "Delete SocRolloverResultItem";
83      // krad permissions
84      public static final String OPEN_VIEWS_FOR_COURSE_OFFERING_PERMISSION = "Open Views for Course Offering";
85      public static final String EDIT_VIEWS_FOR_COURSE_OFFERING_PERMISSION = "Edit Views for Course Offering";
86      public static final String OPEN_VIEWS_FOR_SOC_PERMISSION = "Open Views for SOC";
87      public static final String EDIT_VIEWS_FOR_SOC_PERMISSION = "Edit Views for SOC";
88      
89      /**
90       * permission templates
91       */
92      public static final String CAN_INVOKE_SERVICE_METHOD_TEMPLATE_NAME = "Can Invoke Service Method";
93      public static final String OPEN_VIEW_TEMPLATE_NAME = "Open View";
94      public static final String EDIT_VIEW_TEMPLATE_NAME = "Edit View";
95      public static final String USE_VIEW_TEMPLATE_NAME = "Use View";
96      public static final String VIEW_FIELD_TEMPLATE_NAME = "View Field";
97      public static final String EDIT_FIELD_TEMPLATE_NAME = "Edit Field";
98      public static final String VIEW_GROUP_TEMPLATE_NAME = "View Group";
99      public static final String EDIT_GROUP_TEMPLATE_NAME = "Edit Group";
100     public static final String VIEW_WIDGET_TEMPLATE_NAME = "View Widget";
101     public static final String EDIT_WIDGET_TEMPLATE_NAME = "Edit Widget";
102     public static final String PERFORM_ACTION_TEMPLATE_NAME = "Perform Action";
103     public static final String VIEW_LINE_TEMPLATE_NAME = "View Line";
104     public static final String EDIT_LINE_TEMPLATE_NAME = "Edit Line";
105     public static final String VIEW_LINE_FIELD_TEMPLATE_NAME = "View Line Field";
106     public static final String EDIT_LINE_FIELD_TEMPLATE_NAME = "Edit Line Field";
107     public static final String PERFORM_LINE_ACTION_TEMPLATE_NAME = "Perform Line Action";
108     public static final String KS_OPEN_DOCUMENT_BY_DOC_TYPE_AND_ROUTE_STATUS = "Open Document";
109     
110     /**
111      * Role Names
112      */
113     public static final String KUALI_STUDENT_COURSE_OFFERING_CENTRAL_ADMIN_ROLE_NAME = "Kuali Student Course Offering Central Admin";
114     public static final String KUALI_STUDENT_COURSE_OFFERING_DEPARTMENTAL_ADMIN_ROLE_NAME = "Kuali Student Course Offering Departmental Admin";
115 }