Closed ErikEvenson closed 9 years ago
see isAllowed
definition : https://github.com/OptimalBits/node_acl#isallowed-userid-resource-permissions-functionerr-allowed-
acl.isAllowed
expect to have the userID where allow
gives access to roles, not users. Or maybe I don't really understand your code.
@jonmassot perfect -- thanks. I missed the role/user layer of indirection. Closing.
This code:
logs
xxx null false
. I would have expected it to logxxx null true
.