16 June 2008 at 10:02pm
(Last edited: 16 June 2008 10:03pm),
Thank you for your answer.
I have read the doc in [url]http://doc.silverstripe.com/doku.php?id=security#security_in_the_cms[/url] but i donÃ‚Â´t understand well how to apply it.
I try to debug my PageType but, when the user cliks on site tree in CMS, my page type controller is not called (the init function is not called).
I have search in the doc and in the forum but i canÃ‚Â´t find a sample. Can someone give me a sample of the usage of this?
I've created a new permission to restrict the access to a especific pagetype.
Now, users that don't have the right (permission) to edit that pagetype are unable to edit it.
What I would like to know is if it's possible to completely restrict the access to that pagetype so users without that permission wouldn't be able to even see the page.