Try our conversational search powered by Generative AI!

disabling edit mode


I would like to be able to block a page from being edited

I noticed there are some events in  DataFactory.Instance for example LoadedPage is called when entering Edit mode but that's about it don't know what to try from this point forward

Are there any aproaches someone could share?



Sep 03, 2009 9:17
To be more clear what i want to achieve is to block an editor to publish the page so when he clicks the Edit button for example he would see a custom message and maybe Save & Publish button would be disabled something like this
Sep 03, 2009 9:20
found something that could help EditPanel.LoadedPage
Sep 03, 2009 11:17
You can't use access rights?
Sep 03, 2009 13:01
no pages become unavailable at specific times but not for all the users...
Sep 03, 2009 13:44

You might want to use virtual roles together with publish permissions to accomplish that.

Check out the timedrole here, for that:

Sep 04, 2009 6:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.