mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
made permissions accessible for the outside
This commit is contained in:
parent
d5a0f03cc4
commit
8c72c88e59
@ -16,7 +16,7 @@ const isModerator = rule()(async (parent, args, ctx, info) => {
|
||||
// Permissions
|
||||
const permissions = shield({
|
||||
Query: {
|
||||
statistics: isAdmin,
|
||||
statistics: allow
|
||||
// fruits: and(isAuthenticated, or(isAdmin, isModerator)),
|
||||
// customers: and(isAuthenticated, isAdmin)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user