fix: grant scope field should be functional (#1147)
This commit is contained in:
1 parent
4ef66fdd29
commit
26baf8a80b
3 files changed
+17
-15
No files matched your search
@@ -23,6 +23,13 @@ export default class RoleModel extends GeneratedRoleModel {
|
||||
*/
|
||||
@array('string', { readOnly: true }) grant_strings;
|
||||
|
||||
/**
|
||||
* Convenience for looking up the grant scope, if loaded.
|
||||
*/
|
||||
get grantScope() {
|
||||
return this.store.peekRecord('scope', this.grant_scope_id);
|
||||
}
|
||||
|
||||
// =methods
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user