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 98 posts 502 karma points
    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 1995 posts 12577 karma points MVP 5x 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 98 posts 502 karma points
    Oct 17, 2021 @ 19:31
    Johannes Lantz
    0

    Thank you Kevin! #H5YR

    //Johannes

Please Sign in or register to post replies

Write your reply to:

Draft