Casl: mongoose count returns array when user has no permission

Created on 11 Apr 2018  路  3Comments  路  Source: stalniy/casl

When running a count query, the result will be an empty array if the user's permission doesn't allow to return any of the possible results.

bug casmongoose

All 3 comments

Nice catch! :) will fix this in few days

fixed in @casl/[email protected]

will try tonight

Was this page helpful?
0 / 5 - 0 ratings