Add PAGS group to a built-in uPortal group (ex. "Portal Administrators")

So what if you wanted to designate a group of ldap users to a specific uPortal group like the Portal Administrators group. For demonstration purposes, we will use the example group, ITS Dept (PAGS), that was used in the Configuring Person Attribute Group Store manual page. Here is what you would do:

Step 1: Configure the Person Attribute Group Store

Step 2: Assign your new group to a built-in uPortal group (ex. "Portal Administrators")

  1. Under "Portal Administration Tools" click on "Manage groups", then click "Groups of People"
  2. Click through the Group hierarchy and select "Portal Administrators" (see image below) and click the "Next" button


          

     3. Next, click "Edit Members" (See image below)

     4. Find the PAGS group you wish to assign to the "Portal Administrators" group. (See image below) 

    5. You should now see your PAGS group assigned to the Portal Administrators group (see image below). Now, click "Save"

 

Taking It A Step Further With Fragments

Using "deepMemberOf"

Now, if you want your new group to inherit content/tabs that the Portal Administrators group receives, you would need to modify the dlm.xml file  (for detailed information see define a fragment).

     1. Open the dlm.xml file for editing and locate the 'Admin' fragment (../uportal-impl/src/main/resources/properties/dlm.xml)

     2. Replace the mode 'memberOf' to 'deepMemberOf' for Portal Administrators (see below)

<dlm:fragment name='Admin' ownerID='admin-lo' precedence='40'>
     <dlm:audience evaluatorFactory='org.jasig.portal.layout.dlm.providers.GroupMembershipEvaluatorFactory'>
       <paren mode="OR">
         <attribute mode='deepMemberOf' name='Portal Administrators'/>
         <attribute mode='memberOf' name='Portal Developers'/>
       </paren>
     </dlm:audience>
   </dlm:fragment>

     3. deploy your change

ant clean deploy-war

    4. Restart uPortal

Having problems with these instructions?

Please send us feedback at uportal-user@lists.ja-sig.org