Try our conversational search powered by Generative AI!

Setting rights for all users...

Vote:
 
Hei! Is it possible to set default rights for the newly created page? I want to set rights not only for some specified user but for all users. Thank You In Advance!
#12501
Jan 16, 2006 10:52
Vote:
 
Not sure exactly what you want to do, maybe if you elaborate it would be easier to help. I found this in another thread. It is possible to listen to the publish event through an eventhandler and attach a function to it. In the function you can programmatically change access rights to the page. This code is put into Global.asax: protected void Application_Start(Object sender, EventArgs e) { Global.EPDataFactory.PublishingPage += new PageEventHandler(SetPageAccess); } private void SetPageAccess(object sender, PageEventArgs e) {. . . }
#14380
Jan 16, 2006 11:01
* 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.