0
當我嘗試插入到集合而不驗證我得到拒絕訪問的錯誤,這裏是我的權限:拒絕訪問匿名
signedforms.allow({
'insert': function(userId, doc) {
return userId;
},
'update': function(userId, doc, fields, modifier) {
return userId;
},
'remove': function(userId, doc) {
return userId;
}
});
使用對象字面量時,可以將鍵明確寫爲字符串。 – 2015-03-13 16:22:55