mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
Project managers, board members, auto-update after reconnection, refactoring
This commit is contained in:
parent
d6cb1f6683
commit
b39119ace4
478 changed files with 21226 additions and 19495 deletions
|
@ -18,21 +18,21 @@ module.exports.policies = {
|
|||
|
||||
'*': 'is-authenticated',
|
||||
|
||||
'users/index': ['is-authenticated', 'is-admin'],
|
||||
// 'users/index': ['is-authenticated', 'is-admin'],
|
||||
'users/create': ['is-authenticated', 'is-admin'],
|
||||
'users/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'projects/create': ['is-authenticated', 'is-admin'],
|
||||
'projects/update': ['is-authenticated', 'is-admin'],
|
||||
'projects/update-background-image': ['is-authenticated', 'is-admin'],
|
||||
'projects/delete': ['is-authenticated', 'is-admin'],
|
||||
// 'projects/update': ['is-authenticated', 'is-admin'],
|
||||
// 'projects/update-background-image': ['is-authenticated', 'is-admin'],
|
||||
// 'projects/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'project-memberships/create': ['is-authenticated', 'is-admin'],
|
||||
'project-memberships/delete': ['is-authenticated', 'is-admin'],
|
||||
// 'project-memberships/create': ['is-authenticated', 'is-admin'],
|
||||
// 'project-memberships/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'boards/create': ['is-authenticated', 'is-admin'],
|
||||
'boards/update': ['is-authenticated', 'is-admin'],
|
||||
'boards/delete': ['is-authenticated', 'is-admin'],
|
||||
// 'boards/create': ['is-authenticated', 'is-admin'],
|
||||
// 'boards/update': ['is-authenticated', 'is-admin'],
|
||||
// 'boards/delete': ['is-authenticated', 'is-admin'],
|
||||
|
||||
'access-tokens/create': true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue