...
- Create a directory called C:\temp\myGroups\org.jasig.portal.security.IPerson.
In this directory, using a text editor like Notepad, create a new file named Special_Developers (not Special_Developers.txt). Add the following 2 lines containing names of portal users:
- student
- faculty
Save the file. You have now created a group calledSpecial_Developersthat contains 2 members,studentandfaculty.
- Edit your composite groups configuration file, properties/groups/compositeGroupServices.xml and comment in the filesystem group service. Change the groups root attribute to
Save your changes. You have now made the group you just created available to the composite group service via a component service namedfilesystem.Code Block "C:/temp/myGroups". <service groupsRoot="C:/temp/myGroups"> <name>filesystem</name> <service_factory>org.jasig.portal.groups.ReferenceIndividualGroupServiceFactory</service_factory> <entity_store_factory>org.jasig.portal.groups.filesystem.FileSystemGroupStoreFactory</entity_store_factory> <group_store_factory>org.jasig.portal.groups.filesystem.FileSystemGroupStoreFactory</group_store_factory> <entity_searcher_factory>org.jasig.portal.groups.filesystem.FileSystemEntitySearcherFactory</entity_searcher_factory> <internally_managed>false</internally_managed> <caching_enabled>false</caching_enabled> </service>
- Start up your portal.
- Log on as student. You should not see the Channel Adminlink in the header sinces tudent does not have permission to render the Channel Manager channel. Logout Student.
- Logon as admin. In Groups Manager(on the Admin Tools tab), expand Everyone, expand Staff, and select Developers (You are going to make Special_Developers a member of Developers.)
- Lock Developers for update and choose Add Members.
- Search for a Group of Persons containing "Special". Groups Manager should find your new group. Select Special_Developers and add it to Developers.
- Unlock Developers and select Special_Developers. It should have 2 members, Faculty User and Student User.
- Still logged on as admin, publish a new channel, giving access only to the group Special_Developers. Logout admin.
- Log on as student. You should now see the Channel Admin link in the header and be able to publish channels since members of Developers have permission to render Channel Manager and student is now a member of developers via Special_Developers.
- Subscribe to the new channel via the User Preferences channel.
- Log off student and log on as developer.
- Try to subscribe to the new channel via the User Preferenceschannel. You should not be able to see the new channel. Both developer and Special_Developers are members of Developers, but only members of Special_Developers have subscribe permission for the new channel.
- Log off developer and log on as faculty. You should now be able to subscribe to the new channel. Do so.
- Using your text editor, edit Special_Developers and remove faculty from the group by commenting out the faculty line:
...