Benefits->CanReviewOwnArtwork){ throw new Exceptions\InvalidPermissionsException(); } // We got here because a `User` update had errors and the user has to try again. if($exception){ http_response_code(Enums\HttpCode::UnprocessableContent->value); session_unset(); } } catch(Exceptions\UserNotFoundException){ Template::Emit404(); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::Emit403(); // No permissions to edit artwork. } ?> 'Edit user #' . $user->UserId, 'css' => ['/css/user.css'], 'highlight' => '' ] ) ?>

Edit User #UserId ?>

$exception]) ?>
$user, 'isEditForm' => true, 'generateNewUuid' => $generateNewUuid, 'passwordAction' => $passwordAction]) ?>