mirror of
https://github.com/plankanban/planka.git
synced 2025-12-21 09:15:51 +03:00
feat: Move webhooks configuration from environment variable to UI
This commit is contained in:
@@ -18,6 +18,11 @@ module.exports.policies = {
|
||||
|
||||
'*': 'is-authenticated',
|
||||
|
||||
'webhooks/index': ['is-admin'],
|
||||
'webhooks/create': ['is-admin'],
|
||||
'webhooks/update': ['is-admin'],
|
||||
'webhooks/delete': ['is-admin'],
|
||||
|
||||
'users/create': ['is-authenticated', 'is-admin'],
|
||||
'users/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user