GoogleCloudPlatform / GoogleCloudPlatform/datashare-toolkit
Add ability to modify procurement accounts within the Datashare accounts UI
- Dominant language
- JavaScript
- Stars
- 94
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
If the Datashare schema is re-initialized, and the procurement account associations removed, when a purchase is made through GCP Marketplace, a user isn't required to register or activate an account. Therefore, Datashare doesn't associate an account from procurements with a Datashare account.
**Describe the solution you'd like**
Add a table to the Accounts modal dialog that provides ability to add/remove procurement account resource names.
**Describe alternatives you've considered**
For now, procurement accounts can be manually edited through the BQ console. IE:
```
INSERT INTO
`datashare.account`
SELECT
GENERATE_UUID(),
accountId,
email,
emailType,
accountType,
createdBy,
CURRENT_TIMESTAMP(),
policies,
[STRUCT('providers/cds-demo-2/accounts/E-FEA0-5C23-1B4F-9E5D' AS accountName)],
isDeleted
FROM
`datashare.account`
WHERE
rowId = 'bf714ea8-0e3e-4d9d-b4f2-b748c246e616';
```
Contributor guide
Assessment
This issue has not been assessed yet.