Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
b740e1ef
Commit
b740e1ef
authored
Jul 27, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#3550 - APS instaleld packages, group permission in DB wrong
parent
99d6a590
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/lib/classes/aps_guicontroller.inc.php
interface/lib/classes/aps_guicontroller.inc.php
+1
-1
No files found.
interface/lib/classes/aps_guicontroller.inc.php
View file @
b740e1ef
...
...
@@ -333,7 +333,7 @@ class ApsGUIController extends ApsBase
}
//* Insert new package instance
$insert_data
=
"(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `customer_id`, `package_id`, `instance_status`) VALUES ("
.
$app
->
functions
->
intval
(
$websrv
[
'sys_userid'
])
.
", "
.
$app
->
functions
->
intval
(
$websrv
[
'sys_groupid'
])
.
", 'riud', '"
.
$app
->
functions
->
intval
(
$websrv
[
'sys_perm_group'
])
.
"', '', "
.
$app
->
db
->
quote
(
$webserver_id
)
.
","
.
$app
->
db
->
quote
(
$customerid
)
.
", "
.
$app
->
db
->
quote
(
$packageid
)
.
", "
.
INSTANCE_PENDING
.
")"
;
$insert_data
=
"(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `customer_id`, `package_id`, `instance_status`) VALUES ("
.
$app
->
functions
->
intval
(
$websrv
[
'sys_userid'
])
.
", "
.
$app
->
functions
->
intval
(
$websrv
[
'sys_groupid'
])
.
", 'riud', '"
.
$app
->
db
->
quote
(
$websrv
[
'sys_perm_group'
])
.
"', '', "
.
$app
->
db
->
quote
(
$webserver_id
)
.
","
.
$app
->
db
->
quote
(
$customerid
)
.
", "
.
$app
->
db
->
quote
(
$packageid
)
.
", "
.
INSTANCE_PENDING
.
")"
;
$InstanceID
=
$app
->
db
->
datalogInsert
(
'aps_instances'
,
$insert_data
,
'id'
);
//* Insert all package settings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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