feat: 🎸 filter desktop targets by authorize-session action

This commit is contained in:
Randall Morey committed 2021-02-26 16:17:30 -05:00
1 parent 998c227341
commit 03963579a1
1 file changed
+5 -1
@@ -52,7 +52,11 @@ export default class ScopesScopeProjectsTargetsRoute extends Route {
async model() {
const { id: scope_id } = this.modelFor('scopes.scope');
await this.refreshSessions();
return this.store.query('target', { recursive: true, scope_id });
return this.store.query('target', {
filter: '"authorize-session" in "/item/authorized_actions"',
recursive: true,
scope_id
});
}
/**