feat: 🎸 add grant_scope_ids to role model (#2308)

* feat: 🎸 add grant_scope_ids to role model

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12709

* refactor: 💡 remove removeGrantScopes method

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12709

* style: 💄 add braces around if statement

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12709
This commit is contained in:
Cameron Perera authored and Lisbet Alvarez committed 2024-07-15 17:23:00 -07:00
1 parent c0cecda312
commit f9e85aa9aa
5 files changed
+123 -6

No files matched your search

@@ -28,6 +28,12 @@ export default class GeneratedRoleModel extends BaseModel {
})
grant_scope_id;
@attr('array', {
description:
"The scopes to which this role applies. Defaults to the role's scope.",
})
grant_scope_ids;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,