Skip to content

Commit e4b3104

Browse files
authored
Remove admin permission on user configuration, allowing users with user section access only to manaage users and groups. (#18848)
1 parent bbfe40d commit e4b3104

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Umbraco.Cms.Api.Management/Controllers/User/ConfigurationUserController.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
using Asp.Versioning;
2-
using Microsoft.AspNetCore.Authorization;
1+
using Asp.Versioning;
32
using Microsoft.AspNetCore.Http;
43
using Microsoft.AspNetCore.Mvc;
54
using Umbraco.Cms.Api.Management.Factories;
65
using Umbraco.Cms.Api.Management.ViewModels.User;
7-
using Umbraco.Cms.Web.Common.Authorization;
86

97
namespace Umbraco.Cms.Api.Management.Controllers.User;
108

119
[ApiVersion("1.0")]
12-
[Authorize(Policy = AuthorizationPolicies.RequireAdminAccess)]
1310
public class ConfigurationUserController : UserControllerBase
1411
{
1512
private readonly IUserPresentationFactory _userPresentationFactory;

0 commit comments

Comments
 (0)