fix: allowed banned/suspended users to view their ignored users (#2387)

This commit is contained in:
Wyatt Johnson
2019-07-04 22:11:51 +00:00
committed by GitHub
parent 6fe7d56836
commit 0754ceb803
@@ -1538,7 +1538,12 @@ type User {
"""
ignoredUsers will return the list of ignored users.
"""
ignoredUsers: [User!]! @auth(roles: [ADMIN, MODERATOR], userIDField: "id")
ignoredUsers: [User!]!
@auth(
roles: [ADMIN, MODERATOR]
userIDField: "id"
permit: [SUSPENDED, BANNED]
)
"""
createdAt is the time that the User was created at.