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

User Authorization #948

Merged
merged 258 commits into from
Aug 13, 2015
Merged

User Authorization #948

merged 258 commits into from
Aug 13, 2015

Conversation

stopfstedt
Copy link
Member

refs #887

@stopfstedt
Copy link
Member Author

some notes:

  • the controller tests use dummy user two (user id = 2), who has the developer role and should be able to see and modify everything as applicable.
  • the heart of the authorization system is in the voters, see Ilios/AuthenticationBundle/Voters.

@@ -24,3 +24,260 @@ services:
class: Ilios\AuthenticationBundle\Shibboleth\Authentication
scope: request
arguments: ["@request", "@ilioscore.authentication.manager"]
security.access.aamc_method_voter:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider pulling these out into a separate voters.yml file to make services easier to work with.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on it.

@stopfstedt stopfstedt assigned stopfstedt and jrjohnson and unassigned stopfstedt Aug 13, 2015
@jrjohnson
Copy link
Member

Does that mean this is ready for review and possible merge?

@stopfstedt
Copy link
Member Author

yes, please review/merge. thanks!

jrjohnson added a commit that referenced this pull request Aug 13, 2015
@jrjohnson jrjohnson merged commit be36bd1 into ilios:master Aug 13, 2015
@stopfstedt stopfstedt deleted the authorization branch August 13, 2015 16: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