You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your idea related to a problem? Please describe.
Data.all currently does not support any updates for the owners on the consumption role. For any change, the consumption role has to be deleted and recreated with the new owner association.
Navigate to Environments > Teams and add consumption role.
The role will prompt to select an owner from the drop down menu. Select an owner and click on "Add Consumption Role"
The role gets created. To re assign a different owner for the role, there is no provision to edit the consumption role. The only option currently is to delete the consumption role and recreate it by choosing the new owner from the drop down menu again.
Describe the solution you'd like
Add capability on the UI to allow the admins to edit the consumption role and map it to a different owner.
The text was updated successfully, but these errors were encountered:
Hi @mourya-33, thanks for raising an issue. The fix is relatively easy to implement so we will try to add it to our roadmap as soon as possible. In case you want to give it a try, let us know and we can indicate you how to start this feature.
### Feature or Bugfix
- Feature
### Detail
- Add capability to update consumption role owner and name
- Setting the paradigm to use [DataGrid (with edit/CRUD
ops)](https://v5.mui.com/x/react-data-grid/editing/#full-featured-crud-component)
instead of Table
### Relates
- Resolves#870
### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).
### Testing
Tested with multiple accounts and roles
* Locally
* AWS account
* Added unit-tests
* Mocked the entire `sts` client as the tests were sending request to
AWS
- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)?
- Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
- Is injection prevented by parametrizing queries?
- Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization?
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
- Are you logging failed auth attempts?
- Are you using or adding any cryptographic features?
- Do you use a standard proven implementations?
- Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users?
- Have you used the least-privilege principle? How?
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
---------
Co-authored-by: Petros Kalos <kalosp@amazon.com>
Is your idea related to a problem? Please describe.
Data.all currently does not support any updates for the owners on the consumption role. For any change, the consumption role has to be deleted and recreated with the new owner association.
The role gets created. To re assign a different owner for the role, there is no provision to edit the consumption role. The only option currently is to delete the consumption role and recreate it by choosing the new owner from the drop down menu again.
Describe the solution you'd like
Add capability on the UI to allow the admins to edit the consumption role and map it to a different owner.
The text was updated successfully, but these errors were encountered: