Copied to clipboard

Flag this post as spam?

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


  • Johannes Lantz 156 posts 840 karma points c-trib
    Oct 17, 2021 @ 17:55
    Johannes Lantz
    0

    UmbracoTreeAuthorize in v9

    Hi!

    I was Wondering if there is something simular to: [UmbracoTreeAuthorize(Constants.Trees.DocumentTypes)] in Umbraco v9?

    //Johannes

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Oct 17, 2021 @ 19:01
    Kevin Jump
    100

    Hi,

    Yeah with v9 you do this with authorization policies.

    Authorize(Policy = AuthorizationPolicies.TreeAccessDocumentTypes)]
    
  • Johannes Lantz 156 posts 840 karma points c-trib
    Oct 17, 2021 @ 19:31
    Johannes Lantz
    0

    Thank you Kevin! #H5YR

    //Johannes

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies