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

UsersManager might show an error when having only view access to current selected site #9376

Closed
tsteur opened this issue Dec 10, 2015 · 0 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@tsteur
Copy link
Member

tsteur commented Dec 10, 2015

If a website is currently selected where a user doesn't have admin access but view access, the UsersManager will show an error like this:

image

Instead of showing this error message it should maybe rather select a website where I have admin access automatically. We could do this easily in controller but then the idSite in the URL wouldn't match the selected idSite in the selector. I don't know if all code is actually fetching the idSite from the selector (I think they do). If they use the idSite from the URL in any way, we either need to change it to read idSite from siteSelector or perform a redirect when we notice user has only view access to selected site.

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 10, 2015
@mattab mattab added this to the 2.16.0 milestone Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants