Check content permissions before performing action (#15043)
* Setting actionContext.Result when authz wasn't successful * Taking into account permissions when it is a new node * Cleanup * Passing nodeId as path when new item
This commit is contained in:
committed by
GitHub
parent
bde88caf14
commit
92af8ac881
@@ -79,7 +79,6 @@ public abstract class ContentControllerBase : BackOfficeNotificationsController
|
||||
ModelState.AddModelError("id", $"content with id: {id} was not found");
|
||||
NotFoundObjectResult errorResponse = NotFound(ModelState);
|
||||
|
||||
|
||||
return errorResponse;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user