Commit Graph

2 Commits

Author SHA1 Message Date
Jared Dreyer
04ddb6b206 Content Review permission logic
With the new `canReviewContent()` permission checker we only need to check the permission is set for the user and `canBeReviewedBy()` will always check if the page object is due for review by its owner.

Thus removed redundant logic in `canUseReviewContent()` and accordingly renamed the class filename for additional context.
2022-06-21 17:41:20 +12:00
Mohamed Alsharaf
beacd13b19 Allow for optional can permission method for content review 2022-01-29 20:03:26 +13:00