Loading client/vos_group +7 −7 Original line number Diff line number Diff line Loading @@ -29,9 +29,9 @@ class VOSGroup(RedisRPCClient): if "responseType" not in addGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif addGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") elif addGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") elif addGroupResponse["responseType"] == "ERROR": errorCode = addGroupResponse["errorCode"] errorMsg = addGroupResponse["errorMsg"] Loading @@ -49,9 +49,9 @@ class VOSGroup(RedisRPCClient): if "responseType" not in delGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif delGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") elif delGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") elif delGroupResponse["responseType"] == "ERROR": errorCode = delGroupResponse["errorCode"] errorMsg = delGroupResponse["errorMsg"] Loading @@ -71,7 +71,7 @@ DESCRIPTION This tool allows to modify 'group_read' and 'group_write' parameters of a VOSpace node. Two parameters are required: Four parameters are required: GROUP_TYPE: specifies the group type. can be 'read' or 'write' Loading @@ -88,7 +88,7 @@ DESCRIPTION by the group name. In the second case, the syntax is: people.name\\.surname people.name\\\.surname VOSPACE_PATH: represents the node VOSpace path. Loading @@ -98,7 +98,7 @@ EXAMPLES in 'mydir' on the VOSpace for the 'jsmith' user: Add 'jane.lee' to 'group_read' for the VOSpace node /john.smith/test/foo: # vos_group read add people.jane\\.lee /john.smith/test/foo # vos_group read add people.jane\\\.lee /john.smith/test/foo Add 'my_group' to 'group_write' for the VOSpace node /john.smith/test/foo: # vos_group write add gms_mygroup /john.smith/test/foo Loading Loading
client/vos_group +7 −7 Original line number Diff line number Diff line Loading @@ -29,9 +29,9 @@ class VOSGroup(RedisRPCClient): if "responseType" not in addGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif addGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") elif addGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") elif addGroupResponse["responseType"] == "ERROR": errorCode = addGroupResponse["errorCode"] errorMsg = addGroupResponse["errorMsg"] Loading @@ -49,9 +49,9 @@ class VOSGroup(RedisRPCClient): if "responseType" not in delGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif delGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") elif delGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") elif delGroupResponse["responseType"] == "ERROR": errorCode = delGroupResponse["errorCode"] errorMsg = delGroupResponse["errorMsg"] Loading @@ -71,7 +71,7 @@ DESCRIPTION This tool allows to modify 'group_read' and 'group_write' parameters of a VOSpace node. Two parameters are required: Four parameters are required: GROUP_TYPE: specifies the group type. can be 'read' or 'write' Loading @@ -88,7 +88,7 @@ DESCRIPTION by the group name. In the second case, the syntax is: people.name\\.surname people.name\\\.surname VOSPACE_PATH: represents the node VOSpace path. Loading @@ -98,7 +98,7 @@ EXAMPLES in 'mydir' on the VOSpace for the 'jsmith' user: Add 'jane.lee' to 'group_read' for the VOSpace node /john.smith/test/foo: # vos_group read add people.jane\\.lee /john.smith/test/foo # vos_group read add people.jane\\\.lee /john.smith/test/foo Add 'my_group' to 'group_write' for the VOSpace node /john.smith/test/foo: # vos_group write add gms_mygroup /john.smith/test/foo Loading