Class \Prado\Security\Permissions\TUserOwnerRule
TUserOwnerRule class
TUserOwnerRule will check if the extra data sent to isUserAllowed has a user name that matches the parameter user name.
Class hierarchy
- \Prado\Security\Permissions\TUserOwnerRule
- \Prado\Security\TAuthorizationRule implements IPriorityItem
- \Prado\TComponent
Since: 4.2.0
public
|
isUserAllowed(IUser $user, string $verb, string $ip[, null|array<string|int, mixed> $extra = null ]) : int
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |