silverstripe-contentreview/src/Extensions
Mo Alsharaf 1cf0f01a35
NEW Allow for optional can permission method for content review (#152)
* Allow for optional can permission method for content review

* 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.

Co-authored-by: Jared Dreyer <jared.dreyer@silverstripe.com>
2022-06-22 12:25:59 +12:00
..
ContentReviewCMSExtension.php NEW Allow for optional can permission method for content review (#152) 2022-06-22 12:25:59 +12:00
ContentReviewDefaultSettings.php ENHANCEMENT Optimise imports, upgrade array syntax 2018-01-09 12:26:55 +13:00
ContentReviewLeftAndMainExtension.php API Add React modal popup for reviewing content in SiteTree 2017-09-15 16:06:37 +12:00
ContentReviewOwner.php FIX Remove automatically scaffolded GridField for Site Tree Content Review in Member fields 2018-03-22 17:09:57 +13:00
SiteTreeContentReview.php NEW Allow for optional can permission method for content review (#152) 2022-06-22 12:25:59 +12:00