Try our conversational search powered by Generative AI!

disabling edit mode

Vote:
 

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?

Thanks 

 

#32456
Sep 03, 2009 9:17
Vote:
 
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
#32457
Sep 03, 2009 9:20
Vote:
 
found something that could help EditPanel.LoadedPage
#32461
Sep 03, 2009 11:17
Vote:
 
You can't use access rights?
#32466
Sep 03, 2009 13:01
Vote:
 
no pages become unavailable at specific times but not for all the users...
#32469
Sep 03, 2009 13:44
Vote:
 

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

Check out the timedrole here, for that:  http://labs.episerver.com/en/Blogs/Allan/Dates/2009/9/I-am-virtually-in-the-role-dude/

#32486
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.