Details
-
Task
-
Resolution: Done
-
L3 - Default
-
None
-
M
Description
Context:
When a user logs in to Optimize, we fetch all their authorizations to be able to check for which process/decision definitions they're authorized to. However, instead of fetching all authorizations at once we could just use the query parameters to filter for user/group authorizations. See https://docs.camunda.org/manual/7.13/reference/rest/authorization/get-query/ for more information.
Note: you can't query for userIdIn and groupIdIn at the same time because then you get:
Unknown macro: { "type"}
So we should evaluate if it still makes sense to do 2 requests instead of one. Especially, in a multi-engine environment that could increase the request count quite a bit.
Alternative: instead we could ask the engine team to allow querying for both or add an Optimize endpoint.
AT:
- instead of fetching all the user authorizations Optimize fetches only the authorizations related to a user
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- mentioned in
-
Page Loading...