mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
408 B
PHP
18 lines
408 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Security;
|
|
|
|
use Exception;
|
|
|
|
/**
|
|
* Throw this exception to register that a user doesn't have permission to do the given action
|
|
* and potentially redirect them to the log-in page. The exception message may be presented to the
|
|
* user, so it shouldn't be in nerd-speak.
|
|
*
|
|
* @package framework
|
|
* @subpackage security
|
|
*/
|
|
class PermissionFailureException extends Exception {
|
|
|
|
}
|