KMP PHP API Reference

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

Methods

testCanBranchOfficersAllowsAnyAuthenticated()

public testCanBranchOfficersAllowsAnyAuthenticated() : void

testCanDepartmentOfficersRosterDenied()

public testCanDepartmentOfficersRosterDenied() : void

testCanMemberOfficersDeniedForOtherMember()

public testCanMemberOfficersDeniedForOtherMember() : void

testCanOfficersByWarrantStatusDenied()

public testCanOfficersByWarrantStatusDenied() : void

testCanRequestWarrantDeniedForOther()

public testCanRequestWarrantDeniedForOther() : 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

testOfficerPolicyExtendsBasePolicy()

public testOfficerPolicyExtendsBasePolicy() : void

testOfficersTablePolicyExtendsBasePolicy()

public testOfficersTablePolicyExtendsBasePolicy() : 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

        
On this page

Search results