mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
lib: Add SecurityException
All assertPermission() calls must throw this exception.
This commit is contained in:
parent
3e128732b8
commit
375345f837
12
library/Icinga/Security/SecurityException.php
Normal file
12
library/Icinga/Security/SecurityException.php
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Icinga\Security;
|
||||||
|
|
||||||
|
use Icinga\Exception\IcingaException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exception thrown when a caller does not have the permissions required to access a resource
|
||||||
|
*/
|
||||||
|
class SecurityException extends IcingaException
|
||||||
|
{
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user