Add relevant permissions to let cypress tests pass

This commit is contained in:
Robert Schäfer 2019-06-14 10:14:48 +02:00
parent 354d8787b0
commit eb4b05e431

View File

@ -98,6 +98,10 @@ const permissions = shield(
{ {
Query: { Query: {
'*': deny, '*': deny,
findPosts: allow,
Category: isAdmin,
Tag: isAdmin,
Report: isModerator,
Notification: isAdmin, Notification: isAdmin,
statistics: allow, statistics: allow,
currentUser: allow, currentUser: allow,