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

Sync to workspace command #15

Open
itowlson opened this issue Dec 3, 2019 · 0 comments
Open

Sync to workspace command #15

itowlson opened this issue Dec 3, 2019 · 0 comments
Assignees

Comments

@itowlson
Copy link
Contributor

itowlson commented Dec 3, 2019

We could have a command on the OPA Policies folder node to 'Sync to Workspace' - this would re-upload all policies that had changed in the local workspace, and delete all policies that no longer existed in the local workspace. Probably exclude policies that weren't deployed using the extension.

One worry here would be if someone inadvertently synced while in the wrong workspace. We could mitigate this by annotating the policies with the source workspace name (and prompt if it didn't match), or always prompt for confirmation displaying a list what was going to change so the user could see if it was out of whack with expectations.

@itowlson itowlson self-assigned this Dec 3, 2019
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

No branches or pull requests

1 participant