To be or not to be, that's the question :)
I'm trying to develop a site using SilverStripe and I've ran into a wall. I want to use permissions to manage access to pages. I've created a template that has a login and password field on left gutter - Think of the Terrafirma template. These fields appear if your not logged in. As you can guess, I don't want the standard Silverstripe login page to appear when attempting to access a restricted page.
I've though of unregistering the authenticators via Authenticator::unregister_authenticator but that method does not exist in Silverstripe 2.2.2. My plan was to unregister all of the authenticators (MemberAuthenticator, OpenIDAuthenticator and ExternalAuthenticator - Used for LDAP/AD). Next, create a new class the extends ExternalAuthenticator but does not have a function get_login_form.
Any ideas how to accomplish this? Am I heading down the right path?
Thanks in advance,
- Chris