Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(getAppRoles): change permissions #827

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public async Task<NoContentResult> CreateActiveAppDocumentAsync([FromRoute] Guid
/// <response code="400">The language does not exist.</response>
/// <response code="404">The app was not found.</response>
[HttpGet]
[Authorize(Roles = "view_client_roles")]
[Authorize(Roles = "edit_apps")]
[Authorize(Policy = PolicyTypes.ValidCompany)]
[Route("{appId}/roles")]
[ProducesResponseType(typeof(IEnumerable<ActiveAppRoleDetails>), StatusCodes.Status200OK)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ public async Task<NoContentResult> CreateAndUpdateTechnicalUserProfiles([FromRou
/// <response code="404">The app was not found.</response>
/// <response code="403">The app is not the provider of the company</response>
[HttpGet]
[Authorize(Roles = "view_client_roles")]
[Authorize(Roles = "add_apps")]
[Authorize(Policy = PolicyTypes.ValidCompany)]
[Route("{appId}/roles")]
[ProducesResponseType(typeof(IEnumerable<ActiveAppRoleDetails>), StatusCodes.Status200OK)]
Expand Down
Loading