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 a hasPermission method to check permission #1

Merged
merged 1 commit into from Feb 26, 2014
Merged

Conversation

jeremycrosbie
Copy link
Contributor

For security models where roles are composites of any number of
permissions. The intent is for this method to check if a given
permission exists in any of the roles assigned to the current user.

A second, optional parameter is also available to be used for
permissions with more fine-grained attributes. It is intended to be
very specific to the underlying security model.

For security models where roles are composites of any number of
permissions.  The intent is for this method to check if a given
permission exists in any of the roles assigned to the current user.

A second, optional parameter is also available to be used for
permissions with more fine-grained attributes.  It is intended to be
very specific to the underlying security model.
davydotcom added a commit that referenced this pull request Feb 26, 2014
Add a hasPermission method to check permission
@davydotcom davydotcom merged commit 6466d13 into master Feb 26, 2014
@davydotcom davydotcom deleted the has_permission branch February 26, 2014 04:58
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.

None yet

2 participants