airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [1/3] airavata git commit: AIRAVATA-2403 Adding user role management methods
Date Wed, 21 Jun 2017 20:44:32 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 14bb4321a -> 78f089582


http://git-wip-us.apache.org/repos/asf/airavata/blob/78f08958/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
index 2d11d0d..971ca92 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
@@ -79,4 +79,16 @@ service IamAdminServices {
                            2: required user_profile_model.UserProfile userDetails)
         throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
                 2: airavata_errors.AuthorizationException ae)
+
+    bool addRoleToUser(1: required security_model.AuthzToken authzToken,
+                        2: required string username,
+                        3: required string roleName)
+        throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
+                2: airavata_errors.AuthorizationException ae)
+
+    bool removeRoleFromUser(1: required security_model.AuthzToken authzToken,
+                        2: required string username,
+                        3: required string roleName)
+        throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
+                2: airavata_errors.AuthorizationException ae)
 }
\ No newline at end of file


Mime
View raw message