Skip to content
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

api: ActionUsers and ActionRoles argument value suggest #86

Open
nharraud opened this issue Sep 2, 2016 · 3 comments
Open

api: ActionUsers and ActionRoles argument value suggest #86

nharraud opened this issue Sep 2, 2016 · 3 comments

Comments

@nharraud
Copy link
Member

nharraud commented Sep 2, 2016

It seems to me that there is currently no way to know what argument values are valid or not for a given action.

What about enabling the registration of "suggests" and "validators" in setup.py under invenio_access.actions alongside their permission?

This could be used in the CLI and the REST API.

@inveniosoftware/maintainers

Relates to #72

@nharraud nharraud added this to the v1.0.0 milestone Sep 2, 2016
@jirikuncar
Copy link
Member

We can add method/property to ParameterizedActionNeed class (e.g. iter_actions, validate_action).

@lnielsen lnielsen removed this from the v1.0.0 milestone May 12, 2017
@lnielsen
Copy link
Member

@nharraud Is this a must have for v3?

@nharraud
Copy link
Member Author

@lnielsen no we can work without it. We can think of a good design after the release.

@lnielsen lnielsen added this to the someday milestone May 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants