Skip to content
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 informational banner to entries that are linked with KeeShare #3800

Open
rocketraman opened this issue Nov 5, 2019 · 14 comments
Open

Add informational banner to entries that are linked with KeeShare #3800

rocketraman opened this issue Nov 5, 2019 · 14 comments
Assignees

Comments

@rocketraman
Copy link

rocketraman commented Nov 5, 2019

Summary

When viewing Keeshared entries from another database, modifications to those entries are "useless" as those entries are just a view of the entries that are actually in another database. It is easy to search for an entry and modify it, not realizing it comes from another database and should actually be modified there.

Desired Behavior

Just make Keeshared entries read-only so they can't be modified. Or alternatively, support modifying them by writing back to the source db.

@rocketraman rocketraman changed the title Make keeshare entries read-only Make keeshare entries read-only, absent support for modifying them Nov 5, 2019
@droidmonkey
Copy link
Member

This is only true if you are importing only

@rocketraman
Copy link
Author

I (think) I am importing only. Because everything gets imported with no structure, I decided that was best for now.

@rocketraman
Copy link
Author

Yes, Type=Import. I do note that the imported entries do have structure now. However, I was sure when I tried "Synchronize" before things got messed up. Perhaps it is time to try Sync again, but in any case, if Type=Import, the entries should be read-only.

@rocketraman rocketraman changed the title Make keeshare entries read-only, absent support for modifying them Make Import-only keeshare entries read-only Nov 5, 2019
@rocketraman
Copy link
Author

Yeah, I think I set it to Import-only for now due to problems similar to #3045.

@dssouza-ti
Copy link

@rocketraman I've been using the #3045 code to sync group structure and it's working really nice for me. If this is something that would be useful to you, please test it and report to @dsonck92 on the aforementioned issue.

@droidmonkey
Copy link
Member

I don't think we should make the entry read only, there are several good reasons why you would want to make changes to an imported entry. The merge operation preserves those changes. We should display a warning banner for entries that are synced/exported/imported using KeeShare though.

@droidmonkey droidmonkey added this to the v2.6.0 milestone Nov 8, 2019
@droidmonkey droidmonkey changed the title Make Import-only keeshare entries read-only Add informational banner to entries that are linked with KeeShare Nov 8, 2019
@droidmonkey droidmonkey modified the milestones: v2.6.0, v2.7.0 May 30, 2020
@droidmonkey
Copy link
Member

Will be obsolete with the major changes to KeeShare (making it group-bound) so this will not be implemented.

@droidmonkey droidmonkey removed this from the v2.7.0 milestone Mar 21, 2022
@rocketraman
Copy link
Author

Will be obsolete with the major changes to KeeShare (making it group-bound) so this will not be implemented.

I'm assuming the UI for the group-bound KeeShare makes it very clear which groups are KeeShare groups? And flows that down to the entries somehow?

@droidmonkey
Copy link
Member

Yes it will be obvious (already is) when a group is shared.

@rocketraman
Copy link
Author

rocketraman commented Apr 9, 2022

Having now used 2.7.1 for a day or so, I still think this issue should be considered for re-opening and implementation.

At the group level it is now much clearer what is shared and what isn't, however, when a keeshared entry is double-clicked, there remains no more indication whatsoever on the screen that the entry comes from a keeshared group. In fact, even the name of the group which is bound via Keeshare is not shown on the screen (only sub-groups of that group are, for some reason), so even that "hint" is unavailable.

The banner at the top of the password list view "Imported from /foo/bar/baz.kdbx" is useful -- why not show the same banner at the entry level as well?

@rocketraman
Copy link
Author

Thanks for re-opening... thought of another situation. If one clicks on an entry from search results, then a keeshared entry can be opened without even seeing the "Imported from /foo/bar/baz.kdbx" banner in the password list view first, making it even more critical than some kind of banner at the entry level is shown.

@droidmonkey
Copy link
Member

I mean to be fair, you choose to incorporate keeshare and you should be aware of which groups are shared... groups are shown on search.

@rocketraman
Copy link
Author

I mean to be fair, you choose to incorporate keeshare and you should be aware of which groups are shared... groups are shown on search.

They are, but if a group is imported with structure, then the "Group" column is only the last level in the structure shown, which isn't necessarily unique to the Keeshared groups (and isn't in my databases). The entire group path can still be seen in the details view at the bottom when an entry is selected, but that is relatively easy to miss.

@santo74
Copy link

santo74 commented Oct 11, 2023

I would like to add that not necessarily all users are "technical" people, meaning that they don't necessarily have a clue what the message "imported from..." means, let alone that they understand what it implies.
They might even not pay attention to such message at all.

We for example have several databases that contain passwords for specific use cases and those passwords need to be accessible for some people, depending on their role.
This is done by giving everyone a personal database (where they can manage their own, personal passwords) and then importing one or more of the specific databases with KeeShare.
This way, they have access to all the passwords they need.

If a new password needs to be shared or an existing modified, this should obviously be done in the original database that's being shared. However, since they don't have a clue what "imported" means they sometimes modify an item in the imported group, thinking that everyone else with access to the shared database will see those changes.
Even worse, they sometimes add a new entry somewhere in the imported group, e.g. when they registered a new account that should be available for the others as well.

The worst thing here is that they don't get any errors or warnings when doing so and therefore they are not aware that their modifications / additions are not visible for the others.

So it would be really nice if an import could be made read-only.
And since I understand there are also good reasons to be able to make changes to imported entries, I suggest to implement it as an option (in the KeeShare options for a group)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants