Closed jotelha closed 4 years ago
As discussed earlier, pulling this tiny snippet out into a helper function would be useful for imposing "privileges" on a mongo query. The helper can be used by other features (or plugins) in the future to ensure a coherent treatment of permissions.
As discussed earlier, pulling this tiny snippet out into a helper function would be useful for imposing "privileges" on a mongo query. The helper can be used by other features (or plugins) in the future to ensure a coherent treatment of permissions.