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