Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi! Is it possible to customize what I get from "GetAllowedChildren", for example I want to restrict certain user group from creating certain doc type? Or is there any other way to achieve that?
This blog post is doing a similar thing
(the bit at the end)
by hijacking the angularjs request to GetAllLanguages to restrict by UserGroup in a multi language site, that might give some inspiration.
And there is an open PR to the core, describing adding the kind of functionality you are I think talking about:
Not sure if that helps though
There is also this PR that would give you the ability to customize this a lot more: https://github.com/umbraco/Umbraco-CMS/pull/9906
Shannon also suggested using a webapi global filter to catch the response and update it with new values.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted