AccountsRegularUserWalkthroughTest Class Reference

Inheritance diagram for AccountsRegularUserWalkthroughTest:
ZurmoRegularUserWalkthroughBaseTest ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

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

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 (  ) 


Definition at line 106 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserControllerActionsWithElevationToModels (  ) 


Definition at line 152 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserSwitchingOwnershipLosesAccessToAccount (  ) 


Confirm flash message is set.

Definition at line 539 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt (  ) 


Definition at line 574 of file AccountsRegularUserWalkthroughTest.php.

testMassDeleteActionsForSelectedIds (  ) 

selected accounts.

Definition at line 654 of file AccountsRegularUserWalkthroughTest.php.

testMassDeletePagesProperlyAndRemovesAllSelected (  ) 

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

Definition at line 714 of file AccountsRegularUserWalkthroughTest.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 18 07:10:50 2020