Skip to content

Commit

Permalink
fix: missing key for feature flag perm check
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed Aug 19, 2024
1 parent 6b4a19e commit 1482048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/src/services/FeatureFlagService.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class FeatureFlagService extends BaseService {
continue;
}
const svc_permission = this.services.get('permission');
const reading = await svc_permission.scan(actor, `feature:`);
const reading = await svc_permission.scan(actor, `feature:${key}`);
const l = PermissionUtil.reading_to_options(reading);
summary[key] = l.length > 0;
}
Expand Down

0 comments on commit 1482048

Please sign in to comment.