volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Setting rights for all users...

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