Implemented application/permittablegroup/user/enabled endpoint so that users can...
authormyrle-krantz <mkrantz@mifos.org>
Sat, 15 Apr 2017 09:53:56 +0000 (11:53 +0200)
committermyrle-krantz <mkrantz@mifos.org>
Sat, 15 Apr 2017 09:53:56 +0000 (11:53 +0200)
commitcc5495059d14c95fedc2d9e7ec47620c587e21f5
treef31e54b792309e2c3691a30fea4ccfc138700db1
parent9e3d2d4caf70971ce41a6e1d58fe491f8cb4925b
Implemented application/permittablegroup/user/enabled endpoint so that users can themselves give and remove permissions to applications to act in their name.
14 files changed:
api/src/main/java/io/mifos/identity/api/v1/client/IdentityManager.java
api/src/main/java/io/mifos/identity/api/v1/events/ApplicationPermissionUserEvent.java [new file with mode: 0644]
api/src/main/java/io/mifos/identity/api/v1/events/EventConstants.java
component-test/src/main/java/AbstractComponentTest.java
component-test/src/main/java/TestApplications.java
component-test/src/main/java/TestRoles.java
component-test/src/main/java/listener/ApplicationEventListener.java
service/src/main/java/io/mifos/identity/internal/command/SetApplicationPermissionUserEnabledCommand.java [new file with mode: 0644]
service/src/main/java/io/mifos/identity/internal/command/handler/ApplicationCommandHandler.java
service/src/main/java/io/mifos/identity/internal/command/handler/Provisioner.java
service/src/main/java/io/mifos/identity/internal/repository/ApplicationPermissionUsers.java [new file with mode: 0644]
service/src/main/java/io/mifos/identity/internal/repository/ApplicationPermissionUsersEntity.java [new file with mode: 0644]
service/src/main/java/io/mifos/identity/internal/service/ApplicationService.java
service/src/main/java/io/mifos/identity/rest/ApplicationRestController.java