Skip to main content

Filter: gk/foundation/abilities/rest/catalog/permission

Filters whether the current request can view the GravityKit abilities catalog.

Restrict-only: this filter runs only after the default manage_options gate has already passed. Return false to deny access; truthy returns cannot widen access for users who failed the cap check.

Parameters

NameTypeDescription
$allowedboolWhether catalog access is allowed (always true at this point).

Since

  • 1.23.0

Source

Defined in Abilities/REST.php at line 152