Skip to content

Commit 10cd7ff

Browse files
committed
Added 'Authorize' attributes to controllers Users and Groups
1 parent 145339d commit 10cd7ff

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Microsoft.SystemForCrossDomainIdentityManagement/Service/Controllers/GroupsController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
namespace Microsoft.SCIM
66
{
77
using System;
8+
using Microsoft.AspNetCore.Authorization;
89
using Microsoft.AspNetCore.Mvc;
910

1011
[Route(ServiceConstants.RouteGroups)]
12+
[Authorize]
1113
[ApiController]
1214
public sealed class GroupsController : ControllerTemplate<Core2Group>
1315
{

Microsoft.SystemForCrossDomainIdentityManagement/Service/Controllers/UsersController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
namespace Microsoft.SCIM
66
{
77
using System;
8+
using Microsoft.AspNetCore.Authorization;
89
using Microsoft.AspNetCore.Mvc;
910

1011
[Route(ServiceConstants.RouteUsers)]
12+
[Authorize]
1113
[ApiController]
1214
public sealed class UsersController : ControllerTemplate<Core2EnterpriseUser>
1315
{

0 commit comments

Comments
 (0)