Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Accessright on pagetype



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?

Nov 03, 2008 15:30

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

Nov 04, 2008 7:33

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


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.


Edited, Nov 04, 2008 11:52

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. 

Nov 04, 2008 12:23

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

Lars Øyvind Bodahl 

Nov 05, 2008 1:23

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 :)


Nov 05, 2008 11:27
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 :)
Nov 06, 2008 10:56

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.


Nov 06, 2008 20:48

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.


Nov 07, 2008 15:33


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

Edited, Nov 07, 2008 18:45

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.


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.