0 Replies Latest reply on Jan 6, 2008 4:25 AM by youssefmamdouh

    Custom Permissions

       

      Hi all,

       

       

      i needed to extend the permissions provided by clearspace, the issue is, the permissions class provides about 4 values for custom permissions and i added more permissions with long values like this:

       

       

      public static final long CREATE_FORMAL = 0x6000000000000000L;

       

       

      public static final long ASSIGN_EDITOR = 0x1400000000000000L;

       

       

      however, a function in the dbpermissionsManager named toDbFormat makes a kind of validation and returns the database value to be saved......this method fails at my custom permissions with throwing illegal permission value exception....

       

       

      if anyone knows a solution to this please reply asap

       

       

      thanks very much