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

No longer possible to hide Dashboard (Craft 2.5) #17

Closed
lindseydiloreto opened this issue Jan 9, 2016 · 5 comments
Closed

No longer possible to hide Dashboard (Craft 2.5) #17

lindseydiloreto opened this issue Jan 9, 2016 · 5 comments

Comments

@lindseydiloreto
Copy link

In Craft 2.4, it was possible to hide the Dashboard.

In Craft 2.5, even if you hide the Dashboard, you'll still be taken there upon login.

@badlydrawnrob
Copy link

@lindseydiloreto A temporary workaround is to use 'postCpLoginRedirect' => 'myaccount#profile' general setting. Not ideal, would be nice to hide this from certain groups altogther (I don't know why this isn't built into Craft?!). You can see my current setup here

@engram-design
Copy link
Member

I'm not quite sure how I want to handle this. On the one hand, I can certainly disable access to section that are hidden, but I'd honestly rather not.

For example, say you want to hide the Settings page - a handy one to hide so even if your client has an Admin account (for whatever reason), but its still accessible because you know you can enter /admin/settings to access it.

I actually have the same setup for all client sites using @badlydrawnrob's suggestion of using postCpLoginRedirect to Entries - but thats another story.

What do you think about this one? Should this be a special case for the Dashboard?

@lindseydiloreto
Copy link
Author

@badlydrawnrob: I actually didn't even know about postCpLoginRedirect, thanks! I'll give that a shot and see if it helps.

@engram-design: If Rob's solution does the trick, then perhaps it's not necessary to lock the Dashboard down any further. I find that page useless on 90% of my sites, so it's nice when I can make it disappear. :)

@engram-design
Copy link
Member

@lindseydiloreto There you go! FYI, for our clients, we always set the postCpLoginRedirect to entries - mostly because we figure clients want to get in there and edit their content, rather than look at pretty Analytics widgets (although, they certainly can, and its useful info).

I'm going to close this one, purely on the basis that its expected behaviour to be able to be able to still access hidden pages, and there is a config setting to alter your case.

Let me know if you need it reopened, or if you need to have another crack at this!

@lindseydiloreto
Copy link
Author

Sounds perfect, thanks @engram-design!

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

3 participants