function BookAccessTestCase::testCases in Book access 7.2
File
- ./
book_access_test_case.test, line 80
Class
Code
function testCases() {
// module-level permissions
$this
->caseNoSpecialBookAccess();
$this
->caseAdministerBookAccess();
$this
->caseAdministerAnyBookAccess();
$this
->caseAdministerOwnBookAccess();
// grants
$this
->caseUpdatePreservesGrants();
$this
->caseAuthorVsAdminDefaults();
$this
->caseAuthorDefaultsPropagateToNewNode();
$this
->caseRoleDefaultsPropagateToNewNode();
$this
->caseChildDefaultsDoNotAffectParentBook();
$this
->caseAuthorDefaultsPropagateToUpdatedNode();
$this
->caseRoleWithIntentionalNoPermissionsAvoidsDefault();
$this
->caseDeletingBookDoesNotDeleteGrants();
$this
->caseResetToDefaults();
}