bug fixing
This commit is contained in:
parent
33c191f8e7
commit
8636d149c5
@ -9,7 +9,5 @@ carts.allow({
|
|||||||
remove: function (userId, doc) {
|
remove: function (userId, doc) {
|
||||||
return Roles.userIsInRole(userId, ['admin']);
|
return Roles.userIsInRole(userId, ['admin']);
|
||||||
},
|
},
|
||||||
fetch: function (userId, doc) {
|
fetch: []
|
||||||
return (userId != null);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
@ -9,7 +9,5 @@ Chromebooks.allow({
|
|||||||
remove: function (userId, doc) {
|
remove: function (userId, doc) {
|
||||||
return Roles.userIsInRole(userId, ['admin']);
|
return Roles.userIsInRole(userId, ['admin']);
|
||||||
},
|
},
|
||||||
fetch: function (userId, doc) {
|
fetch: []
|
||||||
return (userId != null);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user