forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the ability for tools using the inputRichText tag (melete) to use non standard collection bases in the FCK file browser by setting the "collectionBase" attribute of the tag with the ref Id of the collection. If the collection will not have the proper authz for the user through ContentHostingService a SecurityAdvisor can be saved to the user's Session with an id of: "fck.security.advisor." + collecitonBase Ex: SessionManager.getCurrentSession().setAttribute("fck.security.advisor."+collecitonBase, YourToolsSecurityAdvisor); * The SecurityAdvisor should be non trivial and do some user role checking to ensure security. If the tool would like the user to see extra top level folders in the FCK File browser they can be passed in by putting a List of collection Id's into the user's Session with an id of: "fck.extra.collections." + collectionBase Ex: List collections = new Vector(); //add the ref Ids SessionManager.getCurrentSession().setAttribute("fck.extra.collections."+collectionBase, collections); git-svn-id: https://source.sakaiproject.org/svn/textarea/trunk@22210 66ffb92e-73f9-0310-93c1-f5514f145a0a
- Loading branch information
Showing
4 changed files
with
91 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters