mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 15:32:42 +00:00
Replace trigger permission with update
This commit is contained in:
parent
e0350558bc
commit
b43a35aaf7
@ -74,7 +74,7 @@ module.exports = [
|
|||||||
config: {
|
config: {
|
||||||
policies: [
|
policies: [
|
||||||
'admin::isAuthenticatedAdmin',
|
'admin::isAuthenticatedAdmin',
|
||||||
{ name: 'admin::hasPermissions', config: { actions: ['admin::webhooks.trigger'] } },
|
{ name: 'admin::hasPermissions', config: { actions: ['admin::webhooks.update'] } },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user