diff --git a/phpgwapi/inc/class.egw_exception.inc.php b/phpgwapi/inc/class.egw_exception.inc.php index b4fd0bf803..b43b172800 100644 --- a/phpgwapi/inc/class.egw_exception.inc.php +++ b/phpgwapi/inc/class.egw_exception.inc.php @@ -36,27 +36,6 @@ class egw_exception extends Api\Exception {} */ class egw_exception_no_permission extends Api\Exception {} -/** - * User lacks the right to run an application - * - * @deprecated use Api\Exception\NoPermission\App - */ -class egw_exception_no_permission_app extends Api\Exception\NoPermission\App {} - -/** - * User is no eGroupWare admin (no right to run the admin application) - * - * @deprecated use Api\Exception\NoPermission\Admin - */ -class egw_exception_no_permission_admin extends Api\Exception\NoPermission\Admin {} - -/** - * User lacks a record level permission, eg. he's not the owner and has no grant from the owner - * - * @deprecated use Api\Exception\NoPermission\Record - */ -class egw_exception_no_permission_record extends Api\Exception\NoPermission\Record {} - /** * A record or application entry was not found for the given id * diff --git a/phpgwapi/inc/class.egw_exception_no_permission_admin.inc.php b/phpgwapi/inc/class.egw_exception_no_permission_admin.inc.php new file mode 100644 index 0000000000..992fb39265 --- /dev/null +++ b/phpgwapi/inc/class.egw_exception_no_permission_admin.inc.php @@ -0,0 +1,19 @@ +