Initial commit

This commit is contained in:
Paul Nicoué 2021-10-29 18:05:46 +02:00
commit 1ff19bf38f
830 changed files with 159212 additions and 0 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace Kirby\Exception;
/**
* PermissionException
* Thrown when the current user has insufficient
* permissions for the action
*
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://opensource.org/licenses/MIT
*/
class PermissionException extends Exception
{
protected static $defaultKey = 'permission';
protected static $defaultFallback = 'You are not allowed to do this';
protected static $defaultHttpCode = 403;
}