refactor: 💡 remove grant_scope_id and its uses (#2325)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13877
This commit is contained in:
Cameron Perera authored and Lisbet Alvarez committed 2024-07-15 17:23:00 -07:00
1 parent c6a917d21b
commit e60b774d05
8 files changed
-117

No files matched your search

-9
View File
@@ -33,15 +33,6 @@ export default class RoleModel extends GeneratedRoleModel {
*/
@attr({ readOnly: true, emptyArrayIfMissing: true }) grant_strings;
/**
* Convenience for looking up the grant scope, if loaded.
*/
get grantScope() {
return this.grant_scope_id
? this.store.peekRecord('scope', this.grant_scope_id)
: null;
}
/**
* A list of IDs for principals of type `user`.
* @type {string[]}