mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Reactivate isOwner as suggested in the comments
This commit is contained in:
parent
803e613c4b
commit
859b2b8779
@ -24,11 +24,10 @@ const permissions = shield({
|
||||
// addFruitToBasket: isAuthenticated
|
||||
CreateUser: allow
|
||||
},
|
||||
// TODO: re-activate this after fixing the initial seed
|
||||
// User: {
|
||||
// email: isOwner,
|
||||
// password: isOwner
|
||||
// },
|
||||
User: {
|
||||
email: isOwner,
|
||||
password: isOwner
|
||||
},
|
||||
Post: isAuthenticated
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user