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 838 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 2310 posts 14695 karma points MVP 7x 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 838 karma points c-trib
    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