You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
srosset81
changed the title
Pouvoir passer plusieurs utilisateurs à webacl.resource.addRights
Pass multiple users to webacl.resource.addRightsMay 8, 2024
Currently, to give several users rights to the same resource, we have to call the
webacl.resource.addRights
action once per user.This is costly in terms of performance, as the addRights action performs a lot of checks (locally, it takes almost 1 second per user).
My suggestion would be to allow multiple users to be passed in this way:
If I'm not mistaken, all we need to do is change these lines:
https://github.com/assemblee-virtuelle/semapps/blob/master/src/middleware/packages/webacl/utils.js#L257-L262
The text was updated successfully, but these errors were encountered: