-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KeeShare should allow for "temporary" import #2658
Comments
This is an interesting concept. I'm just going to dump some of my thoughts about the implementation and problems to encourage some discussion. To enable this scenario, we would need to keep track of the imported entries (so we have to create some sort of volatile entries by using a flag of some kind) to prevent them from influencing the saved state of the database. This means that some of the core components need changes:
Furthermore there are a number of edge cases which need to be defined:
Just a personal thought - currently a lot of things are marked with KeeShare because some part of KeeShare has code which assists the proposed feature. I would suggest to separate those features as separate plugins (maybe even extracting some "common sharing core" (similar to the crypto code) which can be used from those plugins). This eases the discussion since we can clearly separate the usage scenarios. |
I'm going to leave this to the side for now, its an interesting thought experiment, but may not be ready for prime time in the current code base. |
This sounds very very close to my original idea written in #2355 and I would love to see this extension. While the current merging of keeshare is fine I can also see the possible problem of having a large keeshare database merge into the parent database. I would say that changing it from "temporary" to "external" would better explain the feature. Or perhaps mount points as I called them earlier. In my vision, they would be:
Looking at the points for corner cases, this would be my input:
|
This won't be implemented. |
Summary
KeeShare currently imports the shared database into the main database. The structure and entry information is saved with the database. This is advantageous for certain scenarios such as offline use. Having the ability to "hot load" a KeeShare folder that does not get saved with the database would be very useful in some circumstances (large attachments).
Desired Behavior
Add an option to allow a KeeShare folder to be "hot loaded" and the contents not saved with the main database.
Possible Solution
Create a special group class for KeeShare groups that can store information about their behavior and modify how save/load works.
Context
Just a thought I had.
The text was updated successfully, but these errors were encountered: