Skip to content

Commit d707a13

Browse files
committed
Add 'data' as a field to be checked for perms for the act updateApplication
1 parent 056bf62 commit d707a13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/perm/is-ticketing-admin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function isTicketingAdmin (args, cb) {
1212
if(args.params.query) dojoId = args.params.query.dojoId;
1313
if(args.params.eventInfo && _.isUndefined(dojoId)) dojoId = args.params.eventInfo.dojoId;
1414
if(args.params.query && _.isUndefined(dojoId)) dojoId = args.params.query.id;
15+
if(args.params.data && _.isUndefined(dojoId)) dojoId = args.params.data.dojoId;
1516
if(args.params.query && _.isUndefined(dojoId)) eventId = args.params.query.eventId;
1617
if(args.params.query && _.isUndefined(dojoId) && _.isUndefined(eventId)) sessionId = args.params.query.sessionId;
1718
} else {

0 commit comments

Comments
 (0)