All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
AccountPermissionsRegularUserWalkthroughTest Class Reference
Inheritance diagram for AccountPermissionsRegularUserWalkthroughTest:
ZurmoRegularUserWalkthroughBaseTest ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testCreateAccountWithDifferentOwnerThanCreatedByUser ()
 
 testRegularUserCanViewOrNotViewDerivedExplicitReadWriteModelPermissionsElement ()
 
 testRegularUserEditExistingAccountAndChangeExplicitPermissions ()
 
 testRegularUserCreateAccountAndChangeExplicitPermissions ()
 
 testRegularUserChangingOwnershipToEveryoneOnNonCreatedAccount ()
 
- Public Member Functions inherited from ZurmoRegularUserWalkthroughBaseTest
 setUp ()
 
 teardown ()
 
- Public Member Functions inherited from ZurmoWalkthroughBaseTest
 setUp ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoRegularUserWalkthroughBaseTest
static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoWalkthroughBaseTest
 logoutCurrentUserLoginNewUserAndGetByUsername ($username)
 
 runControllerWithNoExceptionsAndGetContent ($route, $empty=false)
 
 runControllerWithExitExceptionAndGetContent ($route)
 
 runControllerWithRedirectExceptionAndGetUrl ($route)
 
 runControllerWithRedirectExceptionAndGetContent ($route, $compareUrl=null, $compareUrlContains=false)
 
 runControllerWithAccessDeniedSecurityExceptionAndGetContent ($route)
 
 runControllerWithNotSupportedExceptionAndGetContent ($route)
 
 runControllerWithNotFoundExceptionAndGetContent ($route)
 
 runControllerShouldResultInAccessFailureAndGetContent ($route)
 
 runControllerShouldResultInAjaxAccessFailureAndGetContent ($route)
 
 resetGetArray ()
 
 setGetArray ($data)
 
 resetPostArray ()
 
 setPostArray ($data)
 
 doApplicationScriptPathsAllExist ()
 
 createCheckBoxCustomFieldByModule ($moduleClassName, $name)
 
 createCurrencyValueCustomFieldByModule ($moduleClassName, $name)
 
 createDateCustomFieldByModule ($moduleClassName, $name)
 
 createDateNotRequiredCustomFieldByModule ($moduleClassName, $name)
 
 createDateTimeCustomFieldByModule ($moduleClassName, $name)
 
 createDecimalCustomFieldByModule ($moduleClassName, $name)
 
 createIntegerCustomFieldByModule ($moduleClassName, $name)
 
 createPhoneCustomFieldByModule ($moduleClassName, $name)
 
 createTextCustomFieldByModule ($moduleClassName, $name)
 
 createTextAreaCustomFieldByModule ($moduleClassName, $name)
 
 createUrlCustomFieldByModule ($moduleClassName, $name)
 
 createDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createDependentDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createRadioDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createMultiSelectDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createTagCloudCustomFieldByModule ($moduleClassName, $name)
 
 createCalculatedNumberCustomFieldByModule ($moduleClassName, $name)
 
 createDropDownDependencyCustomFieldByModule ($moduleClassName, $name)
 
 createModuleEditBadValidationPostData ()
 
 createModuleEditGoodValidationPostData ($singularName)
 
 createAttributeLabelBadValidationPostData ()
 
 createAttributeLabelGoodValidationPostData ($name)
 
 createCustomAttributeWalkthroughSequence ($moduleClassName, $name, $attributeTypeName, $extraPostData, $attributeName=null, $isCustomField=false)
 
 checkCopyActionResponseAttributeValuesFromPostArray ($model, $postArray, $linkClass=null, $controllerId=null)
 
 checkCopyActionResponseAttributeValues ($model, $testAttributes, $linkClass=null, $controllerId=null)
 
 updateModelValuesFromPostArray ($model, $postArray)
 
 assertModelHasValuesFromPostArray ($model, $postArray)
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from ZurmoWalkthroughBaseTest
static getModelIdByModelNameAndName ($modelName, $name)
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 
- Protected Attributes inherited from ZurmoRegularUserWalkthroughBaseTest
 $processReadMungeAsWriteMungeValue
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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:
Generated on Fri Jun 5 2020 07:10:38