-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
#461 - Add access control example #607
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
Conversation
core/operations.md
Outdated
@@ -462,6 +462,21 @@ class Question | |||
} | |||
``` | |||
|
|||
### Access Control of Subresources | |||
|
|||
The `subresourceOperations` annotation also allows you to add an access control on each path with the directive `access_control `. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can use "attribute" instead of "annotation" and "directive".
One last thing, this PR should target 2.3 IMO (please rebase your branch beforehand). |
Update doc for access control after comment Update doc for access control after comment 2 Update doc for access control add reference Question on xample Update doc for access control add reference Question on xample
@alanpoulain it's rebase |
core/operations.md
Outdated
@@ -462,6 +462,29 @@ class Question | |||
} | |||
``` | |||
|
|||
### Access Control of Subresources | |||
|
|||
The `subresourceOperations` attribute also allows you to add an access control on each path with the attribute `access_control `. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment: you can remove the space in "access_control ".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sorry
Thanks @tim59 ! |
You're welcome 👍 |
PR for adding the access control on path annotation.
refer to #461