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

Can auto push be disabled for team sharing store #1878

Closed
morningspace opened this issue Mar 25, 2021 · 11 comments · Fixed by #2395
Closed

Can auto push be disabled for team sharing store #1878

morningspace opened this issue Mar 25, 2021 · 11 comments · Fixed by #2395
Labels
pinned ux User experience / User Interface related

Comments

@morningspace
Copy link
Contributor

Summary

It looks the current gopass behavior is that it will auto sync all the time where there is a change. However, in a team sharing scenario, I'd like to control that only privilege member is allowed to push to the remote, while others can only pull.

It appears I can achieve this by configure Collaborators & teams on GitHub side, i.e. grant read only permission, but the gopass will still keep auto pushing w/ errors.

@dominikschulz
Copy link
Member

Yes, this is true.

I have to admit I've never considered such a use case.

@morningspace
Copy link
Contributor Author

Thanks @dominikschulz for your prompt reply. Any chance that it could be considered. I think it's a common case for team sharing. I haven't checked the gopass code, but if that's something kind of easy to add. I'd be happy to spend some time to add that.

@dominikschulz
Copy link
Member

Maintaining config options is very tedious so I aim for as little config options as possible.

The AutoSync issue has been discussed before in #1567 and the general config handling approach in #1819 .
I understand your use case and I think this is something we could / should support, but I'm not yet sure what the least toilsome approach would be.

@dominikschulz
Copy link
Member

To support the use case (i.e. a read only password store client) we would need:

  • a use case description in docs/usecases/ describing the use case
  • a way to disable autosync-on-writes (maybe, read-only clients shouldn't even attempt to write to their store)
  • changes to gopass sync to only pull, never push changes
  • an integration test

Please note that we don't want to add new features without a clear usecase definition. Otherwise we'll accidentally break these in the future (this has happened a few times before, because nobody remembers why a specific feature was as it was).

@morningspace
Copy link
Contributor Author

morningspace commented Mar 25, 2021

Sure, understood. What can I do or can help in this case? Maybe I can start w/ submitting a use case into docs/usecases/? Or if someone else should take that per the process.

maybe, read-only clients shouldn't even attempt to write to their store

I think so. Since it's ready-only, there's no write and no sync-on-write, but it needs pull to sync remote changes from time to time.

@dominikschulz

@dominikschulz
Copy link
Member

If you could contribute a use case definition that would help.

Then we can figure out what else we'd need.

@morningspace
Copy link
Contributor Author

Sure, I will submit a PR later this week.

@morningspace
Copy link
Contributor Author

PR #1892 ready for review. @dominikschulz

morningspace added a commit to morningspace/gopass that referenced this issue Mar 29, 2021
Initial version of use case proposal: Readyonly Store

RELEASE_NOTES=[DOCUMENTATION]

Signed-off-by: morningspace <morningspace@yahoo.com>
@AnomalRoil
Copy link
Member

So, this would really require us to tackle #1567 as well, since this should probably be a per-store setting and not a global one, as said in your PR.

We've also discussed how we are handling configuration in #1819, please don't hesitate to chime in there to give your opinion, since you seem used to our advanced settings :)

On my side, I think we should try and support this use-case, especially since Gopass is really aimed at team sharing too.

@morningspace
Copy link
Contributor Author

Thanks @AnomalRoil , sure I will check #1567 and #1819.

@AnomalRoil AnomalRoil added the ux User experience / User Interface related label May 17, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
@dominikschulz dominikschulz mentioned this issue Nov 2, 2022
13 tasks
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 6, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz pushed a commit that referenced this issue Nov 9, 2022
Initial version of use case proposal: Readyonly Store

RELEASE_NOTES=[DOCUMENTATION]

Signed-off-by: morningspace <morningspace@yahoo.com>

Signed-off-by: morningspace <morningspace@yahoo.com>
dominikschulz added a commit that referenced this issue Nov 9, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes #1567
Fixes #1764
Fixes #1819
Fixes #1878
Fixes #2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 12, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 17, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 18, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 18, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 18, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 19, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 20, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 20, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 20, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 24, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 25, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 25, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 25, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 25, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 25, 2022
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes gopasspw#1567
Fixes gopasspw#1764
Fixes gopasspw#1819
Fixes gopasspw#1878
Fixes gopasspw#2387
Fixes gopasspw#2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned ux User experience / User Interface related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants