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 76 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement (  ) 

testCreateAccountWithDifferentOwnerThanCreatedByUser

Definition at line 93 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserEditExistingAccountAndChangeExplicitPermissions (  ) 

testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement

Definition at line 126 of file AccountPermissionsRegularUserWalkthroughTest.php.

testRegularUserCreateAccountAndChangeExplicitPermissions (  ) 

testRegularUserEditExistingAccountAndChangeExplicitPermissions

Definition at line 187 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 262 of file AccountPermissionsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Nov 22 07:10:21 2017