Skip to content
Browse files

Variable name fix

  • Loading branch information...
1 parent bec0507 commit 65060cf9ad26cfd0acef51091d2fface9644bd4e @jhs jhs committed Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib.js
View
2 lib.js
@@ -123,7 +123,7 @@ function Session(session) {
if(helpers.role(role)) {
if(perm_test === 'reader')
return true;
- var reason = 'reader role: ' + JSON.stringify(name);
+ var reason = 'reader role: ' + JSON.stringify(role);
rights.push({type:'reader', reason:reason, right:'read all docs, change non-ddocs per validate_doc_update'});
}
})

0 comments on commit 65060cf

Please sign in to comment.
Something went wrong with that request. Please try again.