Try our conversational search powered by Generative AI!

Accessright on pagetype

Vote:
 

Hi!

In our project we have a special pagetype that should only be used in very special cases. It is therefore requested that this pagetype is only available to a small set of users (a group of "special-editors"). I was hoping to find an access right property on the pagetype-settings, but couldn't find any. How can we set access restrictions on a pagetype?

#25731
Nov 03, 2008 15:30
Vote:
 

You can't... That's a weakness I'm hoping EPiServer will fix in a future release. There are several customers who needs it.

--
Lars Øyvind
www.epinova.no

#25744
Nov 04, 2008 7:33
Vote:
 

You could easily replace this page with your own implementation (filter the list of page types based on the currently logged on user):

~/UI/edit/NewPage.aspx

And you might want to hook up some events when pages are being created / loaded in the editor, and revalidate the page type against the logged on user etc.

/Björn

#25753
Edited, Nov 04, 2008 11:52
Vote:
 

Yup, you can do "everything" with EPiServer. That's why it so great to work with as a developer. But, my point was that this is a feature that should be a part of the default installation. 

#25756
Nov 04, 2008 12:23
Vote:
 

Just found out that there's a module on Epicode you can use for this :) Check it out at:

https://www.coderesort.com/p/epicode/wiki/NewPage

--
Lars Øyvind Bodahl
www.epinova.no 

#25766
Nov 05, 2008 1:23
Vote:
 

I totally agree with you Lars, it should be a part of the product. The project on epicode looks ok, but it's not bulletproof :)

/Björn

#25769
Nov 05, 2008 11:27
Vote:
 
Thank you all for the answers! I agree that it should be a part of the product, I assumed it was, so hopefullly episerver will do something about it :) For now I'll look into your suggested solutions :)
#25800
Nov 06, 2008 10:56
Vote:
 

Page-type security alone will never be enough to solve all cases. Though it would have been nice to have in the product.

The available page types can actually differ on both user, role, location in tree, type of parent page and time of day (!). :-)

What I'd like to see is some sort of event, factory or override that lets us filter the list of available page types ourself. That - AND - page type security would be nice.

/Steve

#25827
Nov 06, 2008 20:48
Vote:
 

Steve - this is exactly what EPiCode.NewPage does (without adding pagetype security) but id does filter and group pagetypes, based on role and location in tree. Grouping is done by regexing the pagetypenames.

 

#25847
Nov 07, 2008 15:33
Vote:
 

Hi

One thing you can do is to make a tab on Ordinary Page only aviable for the selected users. Then you can put a property that can select user controls on that tab.

This code is based on Itera.MultiProperty and I think you already have that based on commentsSmile

Of course you have to convert your page to a user control, and maybe add a master page selector on the tab too

#25852
Edited, Nov 07, 2008 18:45
Vote:
 

Thomas, I know, the NewPage module is great! I was thinking about the part of the discussion that was about having this as a standard part of the product.

/Steve

#25856
Nov 09, 2008 20:26
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.