inveniosoftware / invenio-accounts-rest

Invenio modules that adds accounts REST API.
https://invenio-accounts-rest.readthedocs.io
GNU General Public License v2.0
0 stars 13 forks source link

views: assign permission factory should pass user and role separately #15

Closed nharraud closed 7 years ago

nharraud commented 7 years ago

Problem: The permission factories for assigning and unassigning roles are given one tuple containing both user who will have the role assigned to and the role itself. In order to be consistent with other Invenio REST APIs the parameters should be given as separate keywords.