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

Remove 7.2 authorization test from migration tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.11.0
    • None
    • engine
    • None

      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:

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: