-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
views: add a REST API #85
Comments
@nharraud Can this be closed now that Invenio-Accounts-REST is here? |
I think we should keep it open, we still need a way to ask Invenio if a user can perform a given action from the UI, i.e. to display an edit button in the detail view. Whether it should be here or in a different repo it's a different question. |
@lnielsen I agree with @egabancho. Invenio-accounts-rest just gives access to accounts and roles, it doesn't tell what permissions they have. |
Ok, thanks for the update. I would still close this ticket, because what the ticket describes was achieved (assign/unassign roles). I would then open a new ticket in inveniosoftware/invenio-accounts-rest with the specific task (i.e. rest api for asking about a users can do certain actions). Otherwise I'm afraid this ticket becomes too generic. Would that be ok? |
@lnielsen The tickets says "assign and unassign permissions to users and roles.", not "assign and unassign roles". The problem is that I would rather keep this issue here for now and put it to "someday" as, right now, nobody has a clear idea of what this permissions REST API would look like. |
Ah, go it :-) My mistake, was confusing roles and permissions :-) Ok, instead I bump it to someday instead of v1 until some expresses interest in implementing it. |
Note: This discussion might be a little premature as @egabancho is working on an alternative access control, but it is still interesting to have it just as a reminder.
This module needs a REST API which would enable to assign and unassign permissions to users and roles.
Relates to #72
The text was updated successfully, but these errors were encountered: