-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[A2-882] authz-service: fix v1 to v2 policy migration issues with app…
…lications (#612) * authz-service/migration: skip well-known "ApplicationServiceGroupsPolicy" This will resolve the following, irritating error: $ chef-automate iam upgrade-to-v2 --result-json output.json Upgrading to IAM v2 Migrating v1 policies... Skipped policies: convert v1 policy "aee14d59-da0b-4974-ba6d-1a018b024874" unknown "well-known" policy ...by skipping this new default v1 policy in migration. Skipping is OK because the application access rights are implemented as additions to the viewer and editor roles in IAM v2 (v2.1). * [integration] iam v2: assert that no policy is skipped * authz-service/migration: remove comment -- it's only a warning * authz-service/migration: migrate custom v1 policies for app tab * authz-service/migration: bikeshed migration mapping function types * authz-service: add docs re: adding new default policies Signed-off-by: Stephan Renatus <[email protected]>
- Loading branch information
Showing
4 changed files
with
93 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters