-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add table/value to map user id to storage id #15166
Comments
👍 Maybe from singular to plural, which storage ID´s are available for a particular user ID or group ID. uID, gID, stID (columns could be extended) Example: a user can have a (or more) stID for himself AND some additional stID´s because he is part of a group and they can be differnt ID´s ect. To consider: having eg SMB, you can declare that a user is directed based on an stID to a remote subfolder with his name. This is not declared seperately for each user, but in general for all users in one declaration (root = $user). |
Or add an additional column in the oc_storages table at least. |
A repair step will be needed to fill the table/column for existing users. |
The basic requirement is at least knowing what home storage belongs to which user. |
@icewind1991 let's use this ticket for the fstab-like mapping table. Can you post the columns you suggested ? |
@DeepDiver1975 talked with @nickvergessen and @icewind1991 and we'll need this mapping table. |
WIP PR here #20768 |
PR was merged already (oc_mounts table), closing |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
At the moment it is very hard to find the storage of a given user, one needs to find the correct storage id (local:: or home::, also from LDAP's getHome()).
If would be much more convenient to have either a mapping table that maps user ids to numeric storage ids (numeric_id).
Also it could help solving the problems with legacy storages by having a stronger/stabler link with the storage numeric id (which isn't supposed to change)
@icewind1991 @MorrisJobke @Xenopathic @schiesbn @DeepDiver1975
The text was updated successfully, but these errors were encountered: