mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-24 06:35:37 +00:00
Revert "temporarily disable accessControl so i can run schema update"
This reverts commit 01159545d8492831f4048235c2ab633a7d2d4905.
This commit is contained in:
parent
79f1c635ca
commit
c9226b34bd
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ module.exports.queries = function(store) {
|
|||
};
|
||||
|
||||
module.exports.accessControl = function(store) {
|
||||
store.accessControl = true;
|
||||
store.readPathAccess('users.*', function() {
|
||||
var captures, next;
|
||||
if (!(this.session && this.session.userId)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ module.exports.queries = (store) ->
|
|||
@byId(id)
|
||||
|
||||
module.exports.accessControl = (store) ->
|
||||
# store.accessControl = true
|
||||
store.accessControl = true
|
||||
|
||||
# FIXME callback signatures here have variable length, eg `callback(captures..., next)`
|
||||
# Is using arguments[n] the correct way to handle this?
|
||||
|
|
|
|||
Loading…
Reference in a new issue