Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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

testRegularUserAllControllerActionsNoElevation

Definition at line 106 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserControllerActionsWithElevationToModels (  ) 

testRegularUserControllerActionsWithElevationToAccessAndCreate

Definition at line 152 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserSwitchingOwnershipLosesAccessToAccount (  ) 

testRegularUserControllerActionsWithElevationToModels

Confirm flash message is set.

Definition at line 539 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt (  ) 

testRegularUserSwitchingOwnershipLosesAccessToAccount

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 Wed Mar 20 07:10:47 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8