Copied to clipboard

Flag this post as spam?

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


  • wilmar 19 posts 129 karma points
    Jan 25, 2021 @ 14:58
    wilmar
    0

    how umbraco allow both logged in member and backoffice user to access a controller action

    Hi im having an issue with the authorized atrributes if i want to allow members and umbraco users to access a controller witch should i use ? [Umbraco.Web.Mvc.UmbracoAuthorize] or [Umbraco.Web.Mvc.MemberAuthorize]

  • Markus Johansson 1696 posts 4865 karma points c-trib
    Jan 25, 2021 @ 21:25
    Markus Johansson
    0

    Do you need to allow both members and users? I haven’t seen any built in attribute for this but I guess that you could create your own and get some inspiration from the implementation of the attributes that you mention.

Please Sign in or register to post replies

Write your reply to:

Draft