mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
Add relevant permissions to let cypress tests pass
This commit is contained in:
parent
354d8787b0
commit
eb4b05e431
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user