This interface is broken:

   --addright=RoleReviewer

There are two things wrong with it:

   1. Rights and roles are confused. So:
   
          --addright=role:Reviewer

      fixes this because then you can also say:

          --addright=right:CanRead+CanCreate+CanCreateSubfolders

      or other custom permissions.

   

   2. The rights are confused with the application of the rights. So a
   parameter such as:

          --rights=role:Reviewer
          --rights=CanRead+CanCreate+CanCreateSubfolders
          --rights=0x7762
          
   stays constant across all these sorts of parameters:

          --grant
          --revoke
          --add
          --multiplybyfifteen ... or whatever.

-- 
Dan Shearer
[EMAIL PROTECTED]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to