Skip to content

Commit

Permalink
Fixed authorization commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
lovoll committed Jan 15, 2024
1 parent ddd065d commit 624650c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Altinn.Profile/Controllers/UsersController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public UsersController(IUserProfiles userProfilesWrapper)
/// <param name="userID">The user id</param>
/// <returns>The information about a given user</returns>
[HttpGet("{userID:int}")]
/// [Authorize(Policy = "PlatformAccess")]
[Authorize(Policy = "PlatformAccess")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<ActionResult<UserProfile>> Get(int userID)
Expand Down

0 comments on commit 624650c

Please sign in to comment.