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

Add requiredRoles to ResourceDoc #894

Closed
simonredfern opened this issue Jan 18, 2018 · 0 comments
Closed

Add requiredRoles to ResourceDoc #894

simonredfern opened this issue Jan 18, 2018 · 0 comments
Assignees

Comments

@simonredfern
Copy link
Member

To ResourceDoc add:

requiredRoles: List[ApiRole]
or
requiredRoles: Option[List[ApiRole]]

This list of required roles will enable us to add buttons to API Explorer so developers can request Roles easily via the Request Entitlment endpoint.

We might be able to use this list to build Role guards automatically.

hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 23, 2018
hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 23, 2018
hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 23, 2018
hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 23, 2018
simonredfern added a commit that referenced this issue Jan 24, 2018
 #894 Add requiredRoles to ResourceDoc
hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 25, 2018
simonredfern added a commit that referenced this issue Jan 25, 2018
#894 Add requiredRoles to ResourceDoc -- tweaking
hongwei1 added a commit to hongwei1/OBP-API that referenced this issue Jan 25, 2018
simonredfern added a commit that referenced this issue Jan 25, 2018
#894 Add requiredRoles to ResourceDoc -- tweaking2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants