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

Use SecurityInfo throughout instead of User directly (currently inconsistent) #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

formsoverdata
Copy link

Implemented OnBehalfOf functionality along the lines of your blog post (http://ayende.com/blog/4618/security-models-on-behalf-of) successfully but had to make a couple of changes to rhino security.

SecurityInfo isn't constantly used to get the user id (was in SecurityCriterions for example but not in these two files) so have implemented this minor change.

Allows a user to act on behalf of another by simple returning another user's SecurityInfo, auditing etc can be handled against the user that is currently logged in.

Updated to use 'user.id' instead of 'user.Id'

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