Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6506

Change myself to an editor of a collection does not work

    • Icon: Bug Report Bug Report
    • Resolution: Cannot Reproduce
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend
    • None
    • Not defined

      Brief summary of the bug. What is it ? Where is it ?

      When I change myself from a manager to an editor, I am still a manager because i can add and remove users and data sources.

      Steps to reproduce:

      • Create a new collection
      • Go the users tab
      • Add another user as a manager (e.g. John)
      • Edit my user authorization to be an editor

      Actual result:

      • I can still remove and add users although i am an editor of the collection

      Expected result:

      • Since i am an editor, i should not be able to add users or data sources to the collection
      • Alternatively, I prevented from editing my self to be an editor/view

        This is the controller panel for Smart Panels app

            [OPT-6506] Change myself to an editor of a collection does not work

            Michal Konopski added a comment - - edited

            Results of my investigation:
            After changing current user role the whole collection is fetched from backend again and in the response currentUserRole property still has a value of manager. User role update request is sent with proper body and after that refetching users list gives correct response. Only place where the response is not right is the get collection

            Michal Konopski added a comment - - edited Results of my investigation: After changing current user role the whole collection is fetched from backend again and in the response currentUserRole property still has a value of manager . User role update request is sent with proper body and after that refetching users list gives correct response. Only place where the response is not right is the get collection

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: