mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
feat: add routes for creating, cycling and deleting apiKeys
This commit is contained in:
parent
d6cbb889fb
commit
846b0579b3
7 changed files with 243 additions and 0 deletions
|
@ -33,6 +33,10 @@ module.exports.policies = {
|
|||
'users/update-avatar': 'is-authenticated',
|
||||
'users/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'api-keys/create': ['is-authenticated', 'is-admin'],
|
||||
'api-keys/cycle': ['is-authenticated', 'is-admin'],
|
||||
'api-keys/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'projects/create': ['is-authenticated', 'is-external', 'is-admin-or-project-owner'],
|
||||
|
||||
'config/show': true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue