Skip to content

Commit

Permalink
declare specific accessControls
Browse files Browse the repository at this point in the history
  • Loading branch information
lefnire committed Feb 13, 2013
1 parent c313663 commit 82a037e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion store.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ var setupQueries = function(store, customAcessControl) {
* the default of "user can only read and write anything to self" use used
*/
var setupAccessControl = function(store, customAccessControl) {
store.accessControl = true;
store.accessControl.readPath = true;
store.accessControl.query = true;
store.accessControl.write = true;

if(!!customAccessControl) {
customAccessControl(store);
Expand Down

0 comments on commit 82a037e

Please sign in to comment.