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 group_member resource #46

Merged
merged 2 commits into from Aug 26, 2020

Conversation

taiidani
Copy link
Collaborator

@taiidani taiidani commented Jul 18, 2020

Fixes #44

Proposed Changes

  • Adds a onepassword_group_member resource for managing group membership within a 1Password installation.
  • This bumps the required version of the op client to 1.4.0 so that it receives the bug fixes applied to that version. In testing I also found that the automatic installation will not work on Mac due to their versions being distributed in a .pkg installer; I added error handling to more cleanly instruct the user in that case.

TODO

  • Import the changes from the terraform sdk v2 upgrade
  • Test a possible panic if someone attempts to import but doesn't use the hyphenated syntax
  • Update the required op version, as there is a bug fix inbound that only the newest client will contain.

@taiidani
Copy link
Collaborator Author

Currently waiting on a bug fix in the CLI where users who are not in the group being managed (e.g. administrators/owners) may encounter problems managing the members of that group.

See https://discussions.agilebits.com/discussion/comment/565941 for the conversation.

@taiidani taiidani force-pushed the feature/GroupMemberResource branch 3 times, most recently from 7a20b1d to 72ef91e Compare August 15, 2020 04:47
@taiidani
Copy link
Collaborator Author

Bug fix has been applied in 1.4.0. Updated this PR to have that as a required version.

@taiidani taiidani marked this pull request as ready for review August 15, 2020 05:08
@anasinnyk
Copy link
Owner

Thanks @taiidani

@anasinnyk anasinnyk merged commit 43f28e1 into anasinnyk:master Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Managed Group Memberships
2 participants