You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add method to get user list from mount point #11180
The encryption app actually needs to know what users have access to a given mount point and should not need to know about the external storage app.
The suggestion here is to add a new method getUsersWithAccess() to the Storage class (or alternatively to Mount).
External storage implementations (or ExternalMount) should then return a list of users or groups that have access to the point point. SharedStorage (or SharedMount) implementation can simply return the already known list of users.
Also a hook/proxy that makes it possible to listen to changes.
It would make it possible to listen to events like whenever a share mount point user list changed or the applicable users of an external mount point changed.
This would be useful for encryption to be able to auto-add/remove keys when the applicable users change.
But it wouldn't solve the problem for when users are added to groups...
Activity
PVince81 commentedon Sep 19, 2014
Also a hook/proxy that makes it possible to listen to changes.
It would make it possible to listen to events like whenever a share mount point user list changed or the applicable users of an external mount point changed.
This would be useful for encryption to be able to auto-add/remove keys when the applicable users change.
But it wouldn't solve the problem for when users are added to groups...
PVince81 commentedon Oct 27, 2017
@patrickjahns we saw a similar method this week in the search_lucene app
patrickjahns commentedon Oct 27, 2017
Yes - it included though two functionalities:
it would be good to move this to core and refactor the application to use this method and cleanup the application