Rename policies to original names (#15825)
* Removed the "New" from all policy names now that the legacy backoffice is gone. * more policy renaming * more policy renaming * Uncommenting tests * Cleanup * Removing unused policy names * Renaming AdminUserEditsRequireAdmin to a more meaningful UserPermissionByResource * Completing TODO and some alphabetical rearranging --------- Co-authored-by: Elitsa <elm@umbraco.dk>
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Umbraco.Cms.Api.Management.Controllers.Profiling;
|
||||
[ApiController]
|
||||
[VersionedApiBackOfficeRoute("profiling")]
|
||||
[ApiExplorerSettings(GroupName = "Profiling")]
|
||||
[Authorize(Policy = "New" + AuthorizationPolicies.SectionAccessSettings)]
|
||||
[Authorize(Policy = AuthorizationPolicies.SectionAccessSettings)]
|
||||
public class ProfilingControllerBase : ManagementApiControllerBase
|
||||
{
|
||||
protected IActionResult WebProfilerOperationStatusResult(WebProfilerOperationStatus status) =>
|
||||
|
||||
Reference in New Issue
Block a user