Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 486
    • Issues 486
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Merge Requests
  • !638

Closed
Opened Sep 07, 2017 by Ispcomm@ispcomm
  • Report abuse
Report abuse

sites domain_id and system user overload in remoting p.o.c.

  • Overview 1
  • Commits 1
  • Changes 1

This is a "proof of concept" for forcing a specific system_user for a web site domain created via the remoting api. The code will update the domain_id of the site right before calling the plugin for the site vhosts.

The site vhost plugin decides the system user and system path based on the domain id. For example domain_id 200 will get system user web200 and (usually) path /var/www/clientX/<system_user>/

To specify the domain_id, it has to be passed in the $params array. If not present, the function will use whatever domain_id results fro the sql INSERT operation.

TODO: -) Check if the domain_id is already present before overloading it.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: ispconfig/ispconfig3!638
Source branch: sysuser_remoting