-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Description
Problem description
When we add/update any parameter(except 'onErrorAction' field) for policy, the value for 'onErrorAction' field is added automatically when updating policy parameters.
Step to reproduce
- Login to SR user.
- Go to Manage Policies page
- Import/Create a policy which has 'Choose_Roles' block(first letters in both words should be uppercase) inside(e.g. 'ACM0007.policy')
- Click on 'Choose_Roles' block.
- Update Tag name to any name(e.g. 'Choose_Roles-new')
- Click on 'Save' button to save changes.
- Go back to 'Manage Policies' page.
- Click 'Compare' button and see that 'Choose_Roles' block.
- Go back to edit policy mode.
- Update Tag name to the initial name(e.g. 'Choose_Roles')
- Click on 'Save' button to save changes.
- Go back to 'Manage Policies' page.
- Pay attention to the 'Modified' field for the updated policy.
- Click 'Compare' button and see that 'Choose_Roles' block.
Expected behavior
- There should be only one updated property - tag.
- On the Modified column for the policy the should be disabled button called 'No changes'.
- No 'Compare' button should be displayed because all the changes were reverted back to the initial state.
Screenshots

Metadata
Metadata
Assignees
Labels
No labels