Added set_perms endpoint
set_perms endpoint
- If
user_id
is allowed to set a given rolenew_role
to a given usertarget_user_id
, - the target user will be assigned with the
new_role
. Otherwhise BadRequest will be raised.
Post query params example:
Related to: https://trello.com/c/b0OBzpqR/142-erp-1-enterar-nos-des-de-lerp-que-hi-ha-hagut-canvis-als-permisos