Access Actions
Centum\Codeception\Actions\AccessActions
grabAccess
Grab the Access from the Container.
grabAccess(): Centum\Interfaces\Access\AccessInterface
allowAccess
Allow a user to do a particular activity in Access.
allowAccess(
non-empty-string $user,
non-empty-string $activityName
): void
denyAccess
Deny a user to do a particular activity in Access.
denyAccess(
non-empty-string $user,
non-empty-string $activityName
): void
removeFromAccess
Remove a rule from Access.
removeFromAccess(
non-empty-string $user,
non-empty-string $activityName
): void
seeIsAllowed
Check if a user is allowed to do a particular activity in Access.
seeIsAllowed(
non-empty-string $user,
non-empty-string $activityName
): void
seeIsNotAllowed
Check if a user is NOT allowed to do a particular activity in Access.
seeIsNotAllowed(
non-empty-string $user,
non-empty-string $activityName
): void