mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
parent
7ef55ec578
commit
7d138b858d
10 changed files with 156 additions and 19 deletions
|
@ -18,21 +18,10 @@ module.exports.policies = {
|
|||
|
||||
'*': 'is-authenticated',
|
||||
|
||||
// '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'],
|
||||
|
||||
// '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'],
|
||||
|
||||
'access-tokens/create': true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue