I want to set user permissions for a project (for which I am assigned the role "Project Owner") through the API. If I understand the documentation correct, I should use getUserAuthorizations for that. I need to provide the user ID and the role ID, though, so I query '/users' and '/roles'; but these seem to return 403 for non-administrative users. On the other hand, I can query both manually through the frontend.
How is this supposed to work? Am I using the wrong API-calls? I also know the user's username, if that helps; I just can't get it translated to their ID.
Hi there,
I want to set user permissions for a project (for which I am assigned the role "Project Owner") through the API. If I understand the documentation correct, I should use getUserAuthorizations for that. I need to provide the user ID and the role ID, though, so I query '/users' and '/roles'; but these seem to return 403 for non-administrative users. On the other hand, I can query both manually through the frontend.
How is this supposed to work? Am I using the wrong API-calls? I also know the user's username, if that helps; I just can't get it translated to their ID.
Thank you in advance, Sebastian