Permissions files have the following format (by example):
<permission-set script="classpath://org/jasig/portal/io/import-permission_set_v3-1.crn"> <owner>UP_PORTLET_PUBLISH</owner> <principal-type>org.jasig.portal.groups.IEntityGroup</principal-type> <principal> <group>${tenant.name} Administrators</group> </principal> <activity>PORTLET_MODE_CONFIG</activity> <target permission-type="GRANT"> <group>${tenant.name} Portlets</group> </target> <!-- New in uPortal 4.3.0 you can specify a portlet by fname --> <target permission-type="GRANT"> <portlet>${tenant.fname}-logo</portlet> </target> </permission-set>
where:
Element | Description | Available values |
---|---|---|
owner | String identifying owner of the activity | Values specified in IPermission.java. Can be one of:
|
principal-type | One of: org.jasig.portal.groups.IEntityGroup TBD: Look to see what other type are allowed; I think person type might be allowed | |
principal | <group>groupname</group> TBD: I think <literal>username</literal> might be allowed if principal-type was a person type | |
activity | String specifying permissions subcategory | See IPermission.java (and source code, much of which passes in a string). Best view of available values is looking at links on Manage Permissions page. |
target | One or more targets may be specified. Target can have permission-type of GRANT or DENY. | Allowed values are:
|
The groupings of permission-owner and activity is easiest seen on the Manage Permissions page (look at link href URLs for specific values).