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 ) ; } }
Updates the ACLs of a space .