provide a kernel util class that implements SecurityAdvisor interface with one or list of permissions
GENERAL
TESTING
GENERAL
TESTING
Description
Activity
Show:
Neal Caidin August 14, 2017 at 1:59 PM
Bulk closing issues that have not been updated since 2014 and earlier. Please reopen if this is still an issue and you have new information.

Aaron Zeckoski December 19, 2011 at 11:37 AM
I think this is a decent idea for a kernel util and it makes sense. I don't know that I will have any time soon to work on it though so I am putting it in the MT bucket.

Sam Ottenhoff December 8, 2011 at 11:26 AM
Aaron, thoughts?
There are multiple instances in Sakai code implements SecurityAdvisor interface by using local wrapper classes. The wrapper class can pass in permission(s), user id(s) and reference values so that SecurityAdvisor can unlock permission based on the values given.
To avoid duplicate efforts, it would be nice to put in a util class inside kernel, which would implement SecurityAdvisor interface, have constructor(s) that accept (1) a permission String, or list of permission Strings ; (2) one user id or list of user ids; and (3) resource references, and do permissions checks based on given information.