openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 54b77b8763d168aac3249491555dee079cb0caa0
parent 717d3c07581a3e476e55c09f12577359aba136c9
Author: Jan Dankert <devnull@localhost>
Date:   Mon, 14 Jan 2019 21:47:47 +0100

Sprechende Fehlermeldung im Fehlerfall

Diffstat:
modules/cms-core/action/ObjectAction.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cms-core/action/ObjectAction.class.php b/modules/cms-core/action/ObjectAction.class.php @@ -230,7 +230,7 @@ class ObjectAction extends Action $o = new BaseObject( $acl->objectid ); if ( !$o->hasRight( ACL_GRANT ) ) - throw new \SecurityException('uh?'); // Scheiss Hacker. + throw new \SecurityException('Not allowed to insert permissions.'); // Scheiss Hacker ;) // Handelt es sich um eine Benutzer- oder Gruppen ACL? switch( $this->getRequestVar('type') )