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:
@@ -11,7 +11,7 @@ namespace Umbraco.Cms.Api.Management.Controllers.Script.Tree;
|
||||
[ApiController]
|
||||
[VersionedApiBackOfficeRoute($"{Constants.Web.RoutePath.Tree}/{Constants.UdiEntityType.Script}")]
|
||||
[ApiExplorerSettings(GroupName = nameof(Constants.UdiEntityType.Script))]
|
||||
[Authorize(Policy = "New" + AuthorizationPolicies.TreeAccessScripts)]
|
||||
[Authorize(Policy = AuthorizationPolicies.TreeAccessScripts)]
|
||||
public class ScriptTreeControllerBase : FileSystemTreeControllerBase
|
||||
{
|
||||
public ScriptTreeControllerBase(FileSystems fileSystems)
|
||||
|
||||
Reference in New Issue
Block a user