Giter Club home page Giter Club logo

Comments (5)

badlydrawnrob avatar badlydrawnrob commented on August 28, 2024

@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.

engram-design avatar engram-design commented on August 28, 2024

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.

lindseydiloreto avatar lindseydiloreto commented on August 28, 2024

@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.

engram-design avatar engram-design commented on August 28, 2024

@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.

lindseydiloreto avatar lindseydiloreto commented on August 28, 2024

Sounds perfect, thanks @engram-design!

from cp-nav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.