Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
92991d5f
Commit
92991d5f
authored
Sep 22, 2011
by
tbrehm
Browse files
Fixed permission in remote api for sites_database_get_all_by_user
parent
e0566d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/remoting.inc.php
View file @
92991d5f
...
...
@@ -2516,7 +2516,7 @@ class remoting {
public
function
sites_database_get_all_by_user
(
$session_id
,
$client_id
)
{
global
$app
;
if
(
!
$this
->
checkPerm
(
$session_id
,
'sites_database_get
_all_by_user
'
))
{
if
(
!
$this
->
checkPerm
(
$session_id
,
'sites_database_get'
))
{
$this
->
server
->
fault
(
'permission_denied'
,
'You do not have the permissions to access this function.'
);
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment