Users can manage collection roles and add other users/groups

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.6.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • 1
    • Not defined

      In cloud environments, users must be able to manage collection roles and add other users. We might be able to utilise https://auth0.com/docs/users/user-search/retrieve-users-with-get-users-endpoint to fetch the user data.

      The Accounts Service has an endpoint to list all users: https://github.com/camunda-cloud/accounts/issues/1193

      However, it is a protected endpoint, for which Optimize would need to provide a m2m token. Sadly the token library is written in typescript so we can't use this, and might need to get the token directly from auth0: https://github.com/camunda-cloud/camunda-cloud-idm/blob/main/src/auth0/auth0.token.controller.ts

      Notes:

      • Groups do not exist in the cloud
      • It may or may not make sense to have an in-memory cache for cloud users. If there is an alternative, this could possibly be more appropriate.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Joshua Windels
              Joshua Windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: