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

[DR-3245] Include auth domain actions in TDR snapshot roles #1211

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

samanehsan
Copy link
Contributor

@samanehsan samanehsan commented Oct 16, 2023

Ticket: https://broadworkbench.atlassian.net/browse/DR-3245

What: Enable TDR users to read and/or update the auth domain of a snapshot depending on their role.

Why: TDR is adding the ability for users to add an auth domain to their snapshot (which will get registered with a group-constraint policy in the Terra Policy Service) in order to enforce who is allowed to access the data when it gets exported to a Terra workspace.

How: Updated reference.conf datasnapshot config


PR checklist

  • I've followed the instructions if I've made any changes to the API, especially if they're breaking changes
  • I've filled out the Security Risk Assessment (requires Broad Internal network access) and attached the result to the JIRA ticket

Enable users to read and/or update the auth domain
of a snapshot depending on their role.
@samanehsan samanehsan force-pushed the se/DR-3245-auth-domains-on-tdr-snapshots branch from e5ed09b to 6deb972 Compare October 16, 2023 20:27
description = "view the auth domain of the snapshot"
}
update_auth_domain = {
description = "update the groups in the auth domain of the snapshot"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there potentially multiple auth domains for a snapshot or is there only one? If there's only one, I think this comment could be better described as "Update the auth domain of the snapshot" rather than mentioning groups. Just because auth domains are by definition defined by groups.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@samanehsan samanehsan merged commit e17cbfd into develop Oct 17, 2023
22 checks passed
@samanehsan samanehsan deleted the se/DR-3245-auth-domains-on-tdr-snapshots branch October 17, 2023 20:11
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.

3 participants