Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9712

Test integrity of integrity of Permissions' enums

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.11.0, 7.11.0-alpha2
    • Component/s: engine
    • Labels:
      None

      Description

      We can add additional tests to ensure:

      • ProcessInstancePermissions, ProcessDefintionPermissions and BatchPermissions contain the all of the resource specific permissions from the "old" Permissions enum (e.g. CREATE, READ, UPDATE, DELETE,...)
      • each permission's value is unique and power of 2 (except of ALL where is Integer.MAX_VALUE)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: