@ Path ( "/acl/{spaceID}" ) @ POST public Response updateSpaceACLs ( @ PathParam ( "spaceID" ) String spaceID , @ QueryParam ( "storeID" ) String storeID ) { String msg = "update space ACLs(" + spaceID + ", " + storeID + ")" ; try { log . debug ( msg ) ; return doUpdateSpaceACLs ( spaceID , storeID ) ; } catch ( ResourceNotFoundException e ) { return responseNotFound ( msg , e , NOT_FOUND ) ; } catch ( ResourceException e ) { return responseBad ( msg , e , INTERNAL_SERVER_ERROR ) ; } catch ( Exception e ) { return responseBad ( msg , e , INTERNAL_SERVER_ERROR ) ; } }
This method sets the ACLs associated with a space . Only values included in the ACLs headers will be updated others will be removed .