Project: duracloud
Issue DURACLOUD-554: ACL: Add ACLStorageProvider
This feature is to add a new StorageProvider wrapper implementation to facilitate filtering the spaces listed in a getSpaces() request. The primary objectives are to: - provide a way to only return spaces that are either 'open' or are accessible to the calling user - improve performance so that each request for the space listing does not require querying the properties of each space from the underlying storage provider. Below are some implementation suggestions: 1. in StorageProviderFactoryImpl.getStorageProvider() * wrap storageProvider with a new ACLStorageProvider() 2. ACLStorageProvider * overwrite: getSpaces() * cache spaces and space acl properties
Story points: 2