OfficersPoliciesTest
extends BaseTestCase
in package
Combined policy tests for Officers plugin.
Tests policy instantiation, inheritance, super-user bypass, non-privileged user denial, and ownership-based access patterns.
Table of Contents
Properties
- $Members : mixed
Methods
- testCanAddRosterDenied() : void
- testCanAssignDenied() : void
- testCanBranchOfficersAllowsAnyAuthenticated() : void
- testCanCreateRosterDenied() : void
- testCanDepartmentOfficersRosterDenied() : void
- testCanEditDenied() : void
- testCanMemberOfficersAsSelf() : void
- testCanMemberOfficersDeniedForOtherMember() : void
- testCanOfficersByWarrantStatusDenied() : void
- testCanOfficersDenied() : void
- testCanReleaseDenied() : void
- testCanRequestWarrantAsSelf() : void
- testCanRequestWarrantDeniedForOther() : void
- testCanSeeAllDepartmentsDenied() : void
- testCanSyncOfficersDenied() : void
- testCanWorkWithAllOfficersDenied() : void
- testCanWorkWithOfficerDeputiesDenied() : void
- testCanWorkWithOfficerDirectReportsDenied() : void
- testCanWorkWithOfficerReportingTreeDenied() : void
- testDepartmentPolicyExtendsBasePolicy() : void
- testDepartmentPolicySuperUserBypass() : void
- testDepartmentsTablePolicyExtendsBasePolicy() : void
- testDepartmentsTablePolicySuperUserBypass() : void
- testOfficePolicyExtendsBasePolicy() : void
- testOfficePolicySuperUserBypass() : void
- testOfficerPolicyExtendsBasePolicy() : void
- testOfficerPolicySuperUserBypass() : void
- testOfficersTablePolicyExtendsBasePolicy() : void
- testOfficersTablePolicySkipBase() : void
- testOfficesTablePolicyExtendsBasePolicy() : void
- testOfficesTablePolicySuperUserBypass() : void
- testReportsControllerPolicyExtendsBasePolicy() : void
- testReportsControllerSuperUserBypass() : void
- testRostersControllerPolicyExtendsBasePolicy() : void
- testRostersControllerSuperUserBypass() : void
- loadMember() : Member
- setUp() : void
Properties
$Members
protected
mixed
$Members
Methods
testCanAddRosterDenied()
public
testCanAddRosterDenied() : void
testCanAssignDenied()
public
testCanAssignDenied() : void
testCanBranchOfficersAllowsAnyAuthenticated()
public
testCanBranchOfficersAllowsAnyAuthenticated() : void
testCanCreateRosterDenied()
public
testCanCreateRosterDenied() : void
testCanDepartmentOfficersRosterDenied()
public
testCanDepartmentOfficersRosterDenied() : void
testCanEditDenied()
public
testCanEditDenied() : void
testCanMemberOfficersAsSelf()
public
testCanMemberOfficersAsSelf() : void
testCanMemberOfficersDeniedForOtherMember()
public
testCanMemberOfficersDeniedForOtherMember() : void
testCanOfficersByWarrantStatusDenied()
public
testCanOfficersByWarrantStatusDenied() : void
testCanOfficersDenied()
public
testCanOfficersDenied() : void
testCanReleaseDenied()
public
testCanReleaseDenied() : void
testCanRequestWarrantAsSelf()
public
testCanRequestWarrantAsSelf() : void
testCanRequestWarrantDeniedForOther()
public
testCanRequestWarrantDeniedForOther() : void
testCanSeeAllDepartmentsDenied()
public
testCanSeeAllDepartmentsDenied() : void
testCanSyncOfficersDenied()
public
testCanSyncOfficersDenied() : void
testCanWorkWithAllOfficersDenied()
public
testCanWorkWithAllOfficersDenied() : void
testCanWorkWithOfficerDeputiesDenied()
public
testCanWorkWithOfficerDeputiesDenied() : void
testCanWorkWithOfficerDirectReportsDenied()
public
testCanWorkWithOfficerDirectReportsDenied() : void
testCanWorkWithOfficerReportingTreeDenied()
public
testCanWorkWithOfficerReportingTreeDenied() : void
testDepartmentPolicyExtendsBasePolicy()
public
testDepartmentPolicyExtendsBasePolicy() : void
testDepartmentPolicySuperUserBypass()
public
testDepartmentPolicySuperUserBypass() : void
testDepartmentsTablePolicyExtendsBasePolicy()
public
testDepartmentsTablePolicyExtendsBasePolicy() : void
testDepartmentsTablePolicySuperUserBypass()
public
testDepartmentsTablePolicySuperUserBypass() : void
testOfficePolicyExtendsBasePolicy()
public
testOfficePolicyExtendsBasePolicy() : void
testOfficePolicySuperUserBypass()
public
testOfficePolicySuperUserBypass() : void
testOfficerPolicyExtendsBasePolicy()
public
testOfficerPolicyExtendsBasePolicy() : void
testOfficerPolicySuperUserBypass()
public
testOfficerPolicySuperUserBypass() : void
testOfficersTablePolicyExtendsBasePolicy()
public
testOfficersTablePolicyExtendsBasePolicy() : void
testOfficersTablePolicySkipBase()
public
testOfficersTablePolicySkipBase() : void
testOfficesTablePolicyExtendsBasePolicy()
public
testOfficesTablePolicyExtendsBasePolicy() : void
testOfficesTablePolicySuperUserBypass()
public
testOfficesTablePolicySuperUserBypass() : void
testReportsControllerPolicyExtendsBasePolicy()
public
testReportsControllerPolicyExtendsBasePolicy() : void
testReportsControllerSuperUserBypass()
public
testReportsControllerSuperUserBypass() : void
testRostersControllerPolicyExtendsBasePolicy()
public
testRostersControllerPolicyExtendsBasePolicy() : void
testRostersControllerSuperUserBypass()
public
testRostersControllerSuperUserBypass() : void
loadMember()
protected
loadMember(int $id) : Member
Parameters
- $id : int
Return values
MembersetUp()
protected
setUp() : void