* Added helper methods to invoke the authorization filters of the other controller action
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Implemented Tree Auth
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Throw forbidden if user has no access instead of InternalServerError
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* EnsureBackofficeSecurity for background jobs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.
Note: Left TODO about checking authorization of proxied trees..