U4-9734 - Make more helpful message than "there are no allowed document types available"

Created by Douglas Robar 05 Apr 2017, 15:13:00 Updated by Sebastiaan Janssen 04 Sep 2017, 09:33:03

Tags: PR

Subtask of: U4-9609

Seen in 7.6RC

Fresh install, no starter kit, no doctypes

Attempt to create a new content page.

You'll get the message that there are no allowed document types available.

It would be helpful to change the message based on the capabilities of the person logged in.

A content editor with no access to the Document Types section should get a more 'human' message that the selected page in the content tree doesn't allow any pages below it. Don't include any instructions about how to enable them with doctypes.

For users with access to Document Types, the text should be the same but also include more info that the relevant doctype (list it by name, based on the doctype of the content item currently selected) doesn't allow any child pages below it. And if they'd like to change that then provide a link/button to go directly to the appropriate doctype and the Permissions section instantly.


Andy Butland 19 Apr 2017, 13:43:11

@madsrasmussen - saw you just picked this up... have you got anywhere with it yet? As coincidentally I started looking at it an hour or so ago, and can send a PR to consider shortly.

Mads Rasmussen 19 Apr 2017, 13:47:00

@abutland That sounds wonderful. I havn't done much yet, so please make a PR.

Andy Butland 19 Apr 2017, 14:35:17

Here it is then, hope useful: https://github.com/umbraco/Umbraco-CMS/pull/1891

Warren Buckley 24 Apr 2017, 09:06:51

@abutland this has been deemed non critical for a 7.6.0 release and will be pulled into a 7.6.1 release.

Priority: Normal

Type: Bug

State: Open


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.6.0

Due in version:


Story Points: 0.5

Cycle: 4