19declare(strict_types=1);
46 return $response_factory->
cannot();
52 return match (
$path) {
53 'profile' => $response_factory->
can($context->
ctrl()->getLinkTargetByClass(
55 \ilDashboardGUI::class,
56 \ilAchievementsGUI::class,
57 \ilBadgeProfileGUI::class
60 default => $response_factory->
cannot(),
handle(Request $request, Context $context, Factory $response_factory)
getAdditionalParameters()
loginFirst()
Convenience: the Handler cannot serve the target with the current permissions.
can(string $uri_path, bool $shift=false)
The Handler successfully resolved the target.
cannot()
The Handler cannot process the given Request at all, e.g.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params