X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAuth.pm;h=04145f2cf1e05be3bba6fa586478899f3cf50bde;hb=b55d5bb480a23e57c9d927d330465b36cff10b53;hp=116d5de681a640758af862ee443a3e4ee7468e31;hpb=7ee061a6a5802170d09bcb46070a3b725d3a8f71;p=kivitendo-erp.git diff --git a/SL/Auth.pm b/SL/Auth.pm index 116d5de68..04145f2cf 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -1309,6 +1309,11 @@ close the database connection. Creating a new database handle on each request can take up to 30% of the pre-request startup time, so we want to avoid that for fast ajax calls. +=item C + +Checks if current user has the C<$right>. If C<$dont_abort> is falsish +the request dies with a access denied error, otherwise returns true or false. + =back =head1 BUGS