Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
  1. Edit your composite groups configuration file, properties/groups/compositeGroupServices.xml and comment in the filesystem group service.  Change the groups root attribute to
    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>
    
    Save your changes. You have now made the group you just created available to the composite group service via a component service namedfilesystem.
  2. Start up your portal.
  3. 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.
  4. 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.)
  5. Lock Developers for update and choose Add Members.
  6. Search for a Group of Persons containing "Special". Groups Manager should find your new group. Select Special_Developers and add it to Developers.
  7. Unlock Developers and select Special_Developers. It should have 2 members, Faculty User and Student User.
  8. Still logged on as admin, publish a new channel, giving access only to the group Special_Developers. Logout admin.
  9. 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.
  10. Subscribe to the new channel via the User Preferences channel.
  11. Log off student and log on as developer.
  12. 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.
  13. Log off developer and log on as faculty. You should now be able to subscribe to the new channel. Do so.
  14. Using your text editor, edit Special_Developers and remove faculty from the group by commenting out the faculty line:

...