Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 8430fe1

Browse files
authored
Reduce perm to lookup prev founder to CDF (#292)
1 parent c71861d commit 8430fe1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

config/perm/users.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,8 @@ module.exports = function(){
9696
'record_login': [{
9797
role: 'basic-user',
9898
}],
99-
100-
// TODO: lookup
10199
'load_prev_founder': [{
102-
role: 'basic-user',
103-
//TODO : how to pass a require a context which is not accessible in the first place ?
104-
// customValidator: [{
105-
// role: 'cd-dojos',
106-
// cmd: 'have_permissions',
107-
// perm: 'dojo-admin'
108-
// }]
100+
role: 'cdf-admin',
109101
}],
110102
'kpi_number_of_youths_registered': [{
111103
role: 'cdf-admin',

0 commit comments

Comments
 (0)