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

Remove 7.2 authorization test from migration tests

    XMLWordPrintable

    Details

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

      Description

      7.2 update scripts (engine_7.2_to_7.3.sql) introduce global grant authorizations for some resources:

      -- add global grant authorizations for new authorization resources:
      -- DEPLOYMENT
      -- PROCESS_DEFINITION
      -- PROCESS_INSTANCE
      -- TASK
      -- with ALL permissions
      
      INSERT INTO
        ACT_RU_AUTHORIZATION (ID_, TYPE_, USER_ID_, RESOURCE_TYPE_, RESOURCE_ID_, PERMS_, REV_)
      VALUES
        ('global-grant-process-definition', 0, '*', 6, '*', 2147483647, 1),
        ('global-grant-task', 0, '*', 7, '*', 2147483647, 1),
        ('global-grant-process-instance', 0, '*', 8, '*', 2147483647, 1),
        ('global-grant-deployment', 0, '*', 9, '*', 2147483647, 1);
      

      These entries interfere with newly introduced authorization tests.
      (for example test that some operation fails due to missing Process Definition authorization, the operation succeeds now because every user is authorized with ALL permissions for PD.)

      AT:

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            yana.vasileva Yana Vasileva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: