Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-663

PermissionMapping constants should be an enum

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • OpenCMIS 0.8.0, OpenCMIS 0.9.0 beta 1
    • None
    • opencmis-commons
    • None

    Description

      Permission mapping keys are declared as constant String in the org.apache.chemistry.opencmis.commons.data.PermissionMapping interface.

      It would be better to have an enum (similarly to the actions enum org.apache.chemistry.opencmis.commons.enums.Action). In this way you can iterate easily through all the keys and have more checks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aquiporras Jaime Porras López
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: