You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app.put('/blogs/:id', acl.middleware(), function(req, res, next){…} <---- this is giving me always false....
and if I have allowed in ACL like this way?
acl.allow('admin', ['blogs'], '*')
acl.isAllowed(req.session.userId, '/blogs/12345', 'put') . <--- this is giving me always false.
Please let me know if I am misunderstand.
The text was updated successfully, but these errors were encountered:
I am still not getting how this work?
app.put('/blogs/:id', acl.middleware(), function(req, res, next){…} <---- this is giving me always false....
and if I have allowed in ACL like this way?
acl.allow('admin', ['blogs'], '*')
acl.isAllowed(req.session.userId, '/blogs/12345', 'put') . <--- this is giving me always false.
Please let me know if I am misunderstand.
The text was updated successfully, but these errors were encountered: