Comments (5)
@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
from cp-nav.
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?
from cp-nav.
@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. :)
from cp-nav.
@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!
from cp-nav.
Sounds perfect, thanks @engram-design!
from cp-nav.
Related Issues (20)
- Layout not getting applied after deployment HOT 7
- Config files updating every time I push up HOT 33
- Custom SVG Icon selection modal hangs (500 error) HOT 3
- Cp clear cache and error HOT 2
- Bug - show just first item in subnav HOT 5
- Menus are shown twice or triple times HOT 2
- Icon paths not being correctly handled between environments HOT 5
- Missing "products" menu entry from Craft Commerce HOT 3
- Categories Icon in Navigation HOT 5
- Export and import layouts HOT 2
- Composer error when deploying to production HOT 2
- Performance with many navigation entries HOT 1
- Error in log - must be of type array, null given HOT 2
- Migration failure when updating Craft to v4 HOT 3
- SEOmatic subitems deleted HOT 7
- Add support for .env variables and aliases for custom menu item URL
- After craft 3->4 upgrade, this plugin doesnt allow to show manually added menu items HOT 1
- Craft 5 > Beta 11 HOT 1
- CLear cache icon HOT 1
- CP Nav Longer page load HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cp-nav.