[API]How to give access to a repo without administrative privileges (OD-2209)
Sebastian opened 1 year ago

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

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2209
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover