uPortal 4.1/4.2 DB-backed PAGS store
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <pags-group script="classpath://org/jasig/portal/io/import-pags-group_v4-1.crn"> <name>All Staff (PAGS)</name> <description>All Staff Users</description> <selection-test> <test-group> <name></name> <description></description> <test> <name></name> <description></description> <attribute-name>eduPersonAffiliation</attribute-name> <tester-class>org.jasig.portal.groups.pags.testers.StringEqualsTester</tester-class> <test-value>staff</test-value> </test> </test-group> </selection-test> </pags-group> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <pags-group script="classpath://org/jasig/portal/io/import-pags-group_v4-1.crn"> <name>ITS Dept (PAGS)</name> <description>All ITS department Users</description> <selection-test> <test-group> <name></name> <description></description> <test> <name></name> <description></description> <attribute-name>ou</attribute-name> <tester-class>org.jasig.portal.groups.pags.testers.StringEqualsTester</tester-class> <test-value>ITS</test-value> </test> </test-group> </selection-test> </pags-group> |
...
Upgrading from XML-backed PAGS to database-backed PAGS
1. Update code base to 4.1
2. Incorporate your custom changes from PAGSGroupStoreConfig.xml into separate *.pags-group.xml files in uportal-war/src/main/data/default_entities/pags-group
3. Alter uportal-war/src/main/resources/properties/groups/compositeGroupServices.xml to switch from XML-based to database-based PAGS groups.
...