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

Feature/authorisation pvb 276 #4

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

RichardPriddy
Copy link
Collaborator

Implementation includes authorisation layer.
This allows a Command/Query to be tagged with Authorisation Attributes:

[AllowAnonymous]
[MustBeAuthenticated]
[Permission("ROLENAME")]
[PermissionFor("PERMISSION", "RESOURCEKEY")]
A resource key describes the permissions (explicit or implicit) a user has access to. For example a command with the resource key:
"TestData/{id}" can be executed by someone with that explicit claim, or a claim to the test data's owner.

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

Successfully merging this pull request may close these issues.

1 participant