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 506
    • Issues 506
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 28
    • Merge Requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #4961

Closed
Open
Created Feb 22, 2018 by Ghost User@ghost

Locking a user through the API should also deactivate their services

In #1159 (closed) a feature was implemented which meant that 'locking' a client would also de-activate all their services (website, ftp user, mail, ...). Locking a client through the API does not do this. Perhaps this is expected behaviour, since the 'locked' and 'canceled' attributes are not documented in /remoting_client/API-docs/client_update.html. But imho the API should mimic the web interface behaviour here, so that means:

  • document parameters 'locked' and 'canceled' in /remoting_client/API-docs/client_update.html
  • when locking a client, also deactivate all their stuff
  • when unlocking a client, also activate all their stuff

@tbrehm if you agree, I could send a PR

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None