$modelpermissions->cannot()
Returns whether the current user is not allowed to do a certain action on the model
Parameters
Name | Type | Default | Description |
---|---|---|---|
$action * | string |
– | |
$default | bool |
true |
Will be returned if $action does not exist |
Return type
bool