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

[Bug Fix] Impersonate user fix, added ROLE_ALLOWED_TO_SWITCH to rbac roles #3924

Merged

Conversation

koemeet
Copy link
Contributor

@koemeet koemeet commented Jan 19, 2016

Without this change you cannot impersonate users, you will get a 403 even though you are an administrator.

I've added the ROLE_ALLOWED_TO_SWITCH security role to:

  • Administrators
  • Account managers
  • Support

@koemeet
Copy link
Contributor Author

koemeet commented Jan 19, 2016

Why is the build failing?

@koemeet
Copy link
Contributor Author

koemeet commented Jan 19, 2016

nvm

pjedrzejewski pushed a commit that referenced this pull request Jan 20, 2016
…urity-role

[Bug Fix] Impersonate user fix, added ROLE_ALLOWED_TO_SWITCH to rbac roles
@pjedrzejewski pjedrzejewski merged commit cd4844d into Sylius:master Jan 20, 2016
@pjedrzejewski
Copy link
Member

@steffenbrem Thank you! (I restarted the build but was to sleepy to comment, sorry :D)

@cdaguerre
Copy link
Contributor

In a role and permission based context "ALLOWED_TO_SWITCH" sounds more like a permission!
Just saying ;)

@koemeet koemeet deleted the bugfix/impersonate-user-security-role branch January 20, 2016 16:06
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

3 participants