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

Issue with "not allowed" views (/admin/pages) #3

Open
sanderha opened this issue May 28, 2019 · 0 comments
Open

Issue with "not allowed" views (/admin/pages) #3

sanderha opened this issue May 28, 2019 · 0 comments

Comments

@sanderha
Copy link
Contributor

sanderha commented May 28, 2019

Hello,

I just noticed that creating a user with no groups, will show them a "You are logged in as x", on the /admin/pages url. The view is completely unstyled.

Any ideas to what template its using?
I might have a look at it later, just making this issue for now :-)

image

UPDATE
In this situation, Securityis not used as controller, but Controller is (or PageController if CMS is installed). This results in the SecurityDataExtension from the module not being applied.
Changing it to use the onBeforeInit hook and applying the extension to Controller itself makes it work.. But is obviously not a good solution.

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

No branches or pull requests

1 participant