[OPEN-ILS-DEV] Planning for Evergreen development, post 2.0

Jason Stephenson jstephenson at mvlc.org
Wed Jan 19 09:48:26 EST 2011


Here's a small suggestion related to Galen's permission.perm_list  
suggestion from yesterday:

   * Eliminate the superuser flag from actor.usr.

     The EVERYTHING permission renders it redundant, since granting  
the EVERYTHING
     permission at the consortium depth has the same effect.

     Removing explicit checks for superuser from the permissions code  
will simplify
     permissions checking. Since we'll only have to check to check for  
the relevant
     permission and the EVERYTHING permission. The separate checks to  
see if the
     user is a superuser can be eliminated.

     Development impact: Should me moderate to minor depending on the number of
     places where permission checks are done. If done as part of a  
general overhaul
     of permissions code, then the impact on development would be negligible in
     comparison to the overhaul work.

     User impact: Should be transparent if the upgrade script grants the proper
     permission to all superusers.




More information about the Open-ils-dev mailing list