Merge pull request #159 from hashicorp/fix-role-principals-reload

fix: 🐛 reload role to ensure principals are populated
This commit is contained in:
Susmitha Girumala authored and GitHub committed 2020-09-08 16:21:42 -04:00
commit 90ff86a3f8
1 file changed
+1
@@ -12,6 +12,7 @@ export default class ScopesScopeRolesRoleRoute extends Route {
model({ role_id }) {
const { id: scopeID } = this.modelFor('scopes.scope');
return this.store.findRecord('role', role_id, {
reload: true,
adapterOptions: { scopeID },
});
}