code: public void updateSpaceACLs(String spaceID,
                                  Map<String, AclType> spaceACLs,
                                  String storeID) throws ResourceException {
          try {
              StorageProvider storage = storageProviderFactory.getStorageProvider(
                  storeID);
              if (null != spaceACLs) {
                  storage.setSpaceACLs(spaceID, spaceACLs);
              }
  
          } catch (NotFoundException e) {
              throw new ResourceNotFoundException("update space ACLs for", spaceID, e);
          } catch (Exception e) {
              storageProviderFactory.expireStorageProvider(storeID);
              throw new ResourceException("update space ACLs for", spaceID, e);
          }
      }
docs: Updates the ACLs of a space.
  
  @param spaceID
  @param spaceACLs
  @param storeID