U4-303 - Set allowed DocumentType under "Content" root node.

Created by Sebastiaan Janssen 19 Aug 2012, 14:51:05 Updated by Sebastiaan Janssen 06 Sep 2012, 17:03:10

Duplicates: U4-158

I would like to be able to set allowed child types, like in the structure settings on DocumentType, for the root node of the tree. That way, I could prevent editors from creating any content outside of my site tree.

''Originally created on CodePlex by [bigfinger|http://www.codeplex.com/site/users/view/bigfinger]'' on 2/9/2010 8:12:45 AM [Codeplex ID: 26158 - Codeplex Votes: 12]

Imported comments

''Comment by [codegecko|http://www.codeplex.com/site/users/view/codegecko] on 2/9/2010 9:29:25 AM:'' Hi bigfinger, you can do this simply by specifying that certain document types must be child nodes of others. This will then limit the options available to add under the Content node, as you'll only be allowed to create nodes of types that are not implicitly children of other document type nodes. Example: I have 2 doctypes, Blog and BlogPost. BlogPost is specified as being an "allowed child document type" of Blog. I cannot create BlogPost underneath the "Content" node because there must be a Blog node above it. By applying the same principle to your other doctypes you end up with an implicitly-specified set of document types that are allowed as first-level children of Content. It's a round-about way of doing it but it's how it works at present, however, I'll raise it with the rest of the core team.

codegecko (Umb Core)

''Comment by [bigfinger|http://www.codeplex.com/site/users/view/bigfinger] on 2/10/2010 9:29:13 AM:'' Where do I specify "that certain document types must be child nodes of others"? I only know where to specify the allowed child document types, not the allowed parent types.

''Comment by [tomnf|http://www.codeplex.com/site/users/view/tomnf] on 11/22/2011 7:47:45 PM:'' FYI, I've released a package that allows you to control the "root level" allowed document/media types: http://our.umbraco.org/projects/backoffice-extensions/structure-extensions


Funka! 23 Aug 2012, 19:33:33

Duplicate of U4-158 and possibly U4-3 ?? (still not sure I'm clear on what U4-3 encompasses...)

Priority: Normal

Type: Bug

State: Duplicate


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:


Story Points: