Add Portal Admininstrator

The default uPortal install puts the admin user in the Portal Administrators group. This provides the admin user with the ability to access Groups Manager, Portlet Manager and other administrative UIs. The easiest way to add other users as administrators is via a membership entity file and import this file using the crn-import ant task.

Step 1: Export the Portal Administrators group

Export the Portal_Administrators.group-membership.xml file by using the "Import, Export, and Delete Entities" tool found under the Portal Administration Portlet.

Step 2: Edit the Membership file

Edit the membership file by adding an existing user entry within the <children> tag. For example, I added myself (mccordl), as a portal admin below.

<?xml version="1.0" encoding="UTF-8"?>
<group script="classpath://org/jasig/portal/io/import-group_membership_v3-2.crn">
  <name>Portal Administrators</name>
  <entity-type>org.jasig.portal.security.IPerson</entity-type>
  <creator>system</creator>
  <description>Portal Administrators with superuser capabilities</description>
  <children>
    <literal>admin</literal>
    <literal>admin-lo</literal>
    <literal>mccordl</literal>
  </children>
</group>

Step 3:  Import your changes

You can import your changes by using the "data-import" command-line tool like below:

ant data-import -Dfile=/path/to/your/Portal_Administrators.group-membership.xml

 

Â