Authorization Policy for Custom Section
# help-with-umbraco
k
Is there a "correct" technique for validating my users have access to my custom section in my API controllers? In the Umbraco source I can see there is an
AllowedApplicationRequirement
requirement with matching
AllowedApplicationHandler
handler, but it is
internal
so can't be accessed from my library. For now, I've just copied the requirement and handler into my project and that seems to work when I configure my section alias as an Allowed Application.
5 Views