Access enum
Minn\Http\Access · public/minn/src/Minn/Http/Access.php · 17 lines
Who a route is for. The six answers every route gives, so the authorization surface of the engine reads as a list of these.
Used by 50 (show)
Cases
| case | Public | Anyone, signed in or not; the caller is never resolved. |
| case | SignedIn | A signed-in caller, whoever they are. |
| case | Cap | A signed-in caller holding the named capability (and every extra one). |
| case | Floor | The Minn Admin floor: signed in, may edit posts, and holds every extra capability named; refused as rest_forbidden. |
| case | Own | A signed-in caller holding a capability on the object a pattern capture names. |
| case | Type | Any caller, on a route whose {base} capture must name a declared post type; the route declines otherwise and the handler judges the rest. |
| case | Taxonomy | Any caller, on a route whose {base} capture must name a taxonomy plugin code registered to show in REST; the route declines otherwise and the handler judges the rest. |
Nothing matches.