class IsAllowedToEditUserViewHelper extends AbstractViewHelper (View source)

Returns true, if the current user is allowed to edit the given user, false otherwise.

Properties

protected bool $escapeOutput
protected UserService $userService

Methods

void
initializeArguments()

No description

bool
render()

Returns whether the current user is allowed to edit the given user.

Details

void initializeArguments()

No description

Return Value

void

Exceptions

Exception

protected bool render()

Returns whether the current user is allowed to edit the given user.

Administrators can edit anybody.

Return Value

bool

Exceptions

Exception
NoSuchRoleException