feat(flows): add flow filters

This commit is contained in:
Ali BARIN
2025-03-19 16:13:36 +00:00
parent d00c5e166f
commit 3d060df5bd
10 changed files with 275 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ import {
mongoQueryMatcher,
} from '@casl/ability';
// Must be kept in sync with `packages/web/src/helpers/userAbility.ts`!
// Must be kept in sync with `packages/web/src/helpers/userAbility.js`!
export default function userAbility(user) {
const permissions = user?.permissions;
const role = user?.role;