Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Rud 232 posts 902 karma points c-trib
    May 11, 2022 @ 17:17
    Martin Rud
    0

    Is there a way to target 'Allowed child node types' against specific users or user groups?

    Hi forum,

    I have a site where I need to differentiate which child node types different editors can create. Reason is that the Umbraco solution goes to different clients and some clients must be able to create other types of content than others.

    P.S.: Hacky solutions are OK - such as using css, non-angular JavaScript or so. It´s not critical that it can be circumvented by technically skilled users. The purpose is more to make things look simple and not crowded with doc types not relevant to the different clients.

    Best regards, Martin

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    May 11, 2022 @ 17:45
    Søren Kottal
    0

    I've done this before, requires some angular hacking though. I'll blog about it some day 🙂

  • Martin Rud 232 posts 902 karma points c-trib
    May 11, 2022 @ 19:48
    Martin Rud
    0

    Cool - have you got just something, small or big, you can share to lead me and others in some direction? Doesn´t have to be pretty or explained. :)

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    May 12, 2022 @ 07:17
  • Martin Rud 232 posts 902 karma points c-trib
    May 12, 2022 @ 07:20
    Martin Rud
    0

    Cool, thanks!

  • Patrick de Mooij 72 posts 622 karma points MVP 3x c-trib
    May 12, 2022 @ 07:54
    Patrick de Mooij
    100

    Depending on your Umbraco version, you should also be able to use this event added with this PR: https://github.com/umbraco/Umbraco-CMS/pull/12116

  • Martin Rud 232 posts 902 karma points c-trib
    May 12, 2022 @ 08:21
    Martin Rud
    0

    Thanks - will try that. It's v9.

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    May 12, 2022 @ 08:43
    Søren Kottal
    0

    Much better - I forgot you got that merged :)

Please Sign in or register to post replies

Write your reply to:

Draft