AccountsRegularUserWalkthroughTest Class Reference

Inheritance diagram for AccountsRegularUserWalkthroughTest:
ZurmoRegularUserWalkthroughBaseTest ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testRegularUserAllControllerActionsNoElevation ()
 testRegularUserControllerActionsWithElevationToAccessAndCreate ()
 testRegularUserControllerActionsWithElevationToModels ()
 testRegularUserSwitchingOwnershipLosesAccessToAccount ()
 testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt ()
 testMassDeleteActionsForSelectedIds ()
 testMassDeletePagesProperlyAndRemovesAllSelected ()
 testCloningWithAnotherUser ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Walkthrough for a peon user. The peon user at first will have no granted rights or permissions. Most attempted actions will result in an ExitException and a access failure view. After this, we elevate the user with added tab rights so that some of the actions will result in success and no exceptions being thrown. There will still be some actions they cannot get too though because of the lack of elevated permissions. Then we will elevate permissions to allow the user to access other owner's records.

Definition at line 46 of file AccountsRegularUserWalkthroughTest.php.


Member Function Documentation

testRegularUserControllerActionsWithElevationToAccessAndCreate (  ) 

testRegularUserAllControllerActionsNoElevation

Definition at line 106 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserControllerActionsWithElevationToModels (  ) 

testRegularUserControllerActionsWithElevationToAccessAndCreate

Definition at line 153 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserSwitchingOwnershipLosesAccessToAccount (  ) 

testRegularUserControllerActionsWithElevationToModels

Confirm flash message is set.

Definition at line 515 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt (  ) 

testRegularUserSwitchingOwnershipLosesAccessToAccount

Definition at line 550 of file AccountsRegularUserWalkthroughTest.php.

testMassDeleteActionsForSelectedIds (  ) 

selected accounts.

Definition at line 629 of file AccountsRegularUserWalkthroughTest.php.

testMassDeletePagesProperlyAndRemovesAllSelected (  ) 

Test Bug with mass delete and multiple pages when using select all

Definition at line 689 of file AccountsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 23 07:10:22 2017