Skip to content
Permalink
Browse files
Created a new permmittable group for applications to request permissi…
…on to access other applications with.
  • Loading branch information
mifosio-04-04-2018 committed May 21, 2017
1 parent 242aec0 commit 02d775cec84386ee194f43d56affd4c8555b92b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -23,4 +23,5 @@ public interface PermittableGroupIds {
String IDENTITY_MANAGEMENT = "identity__v1__users";
String ROLE_MANAGEMENT = "identity__v1__roles";
String SELF_MANAGEMENT = "identity__v1__self";
String APPLICATION_SELF_MANAGEMENT = "identity__v1__app_self";
}
@@ -108,6 +108,7 @@ public ApplicationRestController(
consumes = {MediaType.ALL_VALUE},
produces = {MediaType.APPLICATION_JSON_VALUE})
@Permittable(value = AcceptedTokenType.SYSTEM)
@Permittable(groupId = io.mifos.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT)
public @ResponseBody
ResponseEntity<Void>
createApplicationPermission(@PathVariable("applicationidentifier") @Nonnull String applicationIdentifier,

0 comments on commit 02d775c

Please sign in to comment.