Class ACLManager
java.lang.Object
org.gcube.data.access.storagehub.services.Impersonable
org.gcube.data.access.storagehub.services.ACLManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.common.storagehub.model.types.ACLListgetACL()returns the AccessType for all the users in a shared foldervoidremove right for a user only on Shared foldervoidSet a new AccessType for a user in a shared folder or VRE folderMethods inherited from class org.gcube.data.access.storagehub.services.Impersonable
setCurrentUser
-
Constructor Details
-
ACLManager
public ACLManager()
-
-
Method Details
-
getACL
@GET @Path("{id}/acls") @Produces("application/json") public org.gcube.common.storagehub.model.types.ACLList getACL()returns the AccessType for all the users in a shared folder -
updateACL
@PUT @Consumes("multipart/form-data") @Path("{id}/acls") public void updateACL(String user, org.gcube.common.storagehub.model.acls.AccessType accessType) Set a new AccessType for a user in a shared folder or VRE folder- Parameters:
accessType- accessTypeString- user
-
removeACL
@DELETE @Consumes("text/plain") @Path("{id}/acls/{user}") public void removeACL(@PathParam("user") String user) remove right for a user only on Shared folder- Parameters:
String- user
-
canWriteInto
-