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

AccountPermissionsRegularUserWalkthroughTest Class Reference

Inheritance diagram for AccountPermissionsRegularUserWalkthroughTest:
ZurmoRegularUserWalkthroughBaseTest ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testCreateAccountWithDifferentOwnerThanCreatedByUser ()
 testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement ()
 testRegularUserEditExistingAccountAndChangeExplicitPermissions ()
 testRegularUserCreateAccountAndChangeExplicitPermissions ()
 testRegularUserChangingOwnershipToEveryoneOnNonCreatedAccount ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Account Permissions Regular User Walkthrough. Walkthrough for the regular user of all possible permissions scenarios. Primarily focuses on changing the DerivedExplicitReadWriteModelPermissions element values.

Definition at line 42 of file AccountPermissionsRegularUserWalkthroughTest.php.


Member Function Documentation

testCreateAccountWithDifferentOwnerThanCreatedByUser (  ) 

The createdByUser should be able to create an account and set the owner to a different owner. At the same time the user should also be able to add permissions for the EVERYONE group.

Definition at line 80 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement (  ) 

testCreateAccountWithDifferentOwnerThanCreatedByUser

Definition at line 97 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserEditExistingAccountAndChangeExplicitPermissions (  ) 

testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement

Definition at line 130 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserCreateAccountAndChangeExplicitPermissions (  ) 

testRegularUserEditExistingAccountAndChangeExplicitPermissions

Definition at line 191 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserChangingOwnershipToEveryoneOnNonCreatedAccount (  ) 

Testing when a user who is not a super user, has a model owned by themselves but not created by themselves. Then that user tries to change the owner to someone else and at the same time change the read/write from owner only to everyone.

Definition at line 266 of file AccountPermissionsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:43 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