feat(authorization): add update flow checks
This commit is contained in:
@@ -12,6 +12,8 @@ const executeFlow = async (
|
||||
params: Params,
|
||||
context: Context
|
||||
) => {
|
||||
context.currentUser.can('update', 'Flow');
|
||||
|
||||
const { stepId } = params.input;
|
||||
|
||||
const untilStep = await context.currentUser
|
||||
|
Reference in New Issue
Block a user