Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cal.com
  3. How do you delete users?

How do you delete users?

Scheduled Pinned Locked Moved Cal.com
6 Posts 4 Posters 754 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sparkwise
    wrote on last edited by
    #1

    This question may not be specific to the Cloudron packaging, but curious if anyone has figured out how to cleanly remove a user from the Cal.com database.

    Observations:

    • Removing a user from a team does not remove the user's account from the app.
    • The API includes an endpoint to delete a user, but the API is Enterprise-only.
    • The user's table schema suggests that a hard delete is necessary (no "soft" deleted field exists and the locked field doesn't seem to serve this purpose.)
    • The closest I could find in the upstream repo was this portion of the userDeletionService.ts file
    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Indeed this seems a pure app internal question and in fact also a quite technical one, from what you describe. Its probably better asked with the upstream project and if you think there is a bug somewhere, maybe in their issue tracker at https://github.com/calcom/cal.com/issues

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Yeah, I was just testing this and found that even listing user's is an enterprise feature.

        image.png

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sparkwise
          wrote on last edited by
          #4

          I asked on Discord, but no new response there.

          1 Reply Last reply
          0
          • bmannB Offline
            bmannB Offline
            bmann
            wrote on last edited by
            #5

            So what's the process here? I guess I can toggle the "enable signups" feature, get people to sign up, and then toggle it off again?

            S 1 Reply Last reply
            0
            • bmannB bmann

              So what's the process here? I guess I can toggle the "enable signups" feature, get people to sign up, and then toggle it off again?

              S Offline
              S Offline
              sparkwise
              wrote on last edited by
              #6

              @bmann Not sure if this answers your question, but our process is this: Initially, I enabled "teams" and disabled "signups" at /settings/admin/flags, then configured some teams and Google Login. When we have new team members join, I invite them to the appropriate team (e.g. /settings/teams/2/members > Add.) When they accept the invite, I believe this creates the user account automatically. The issue that we ran into is that there was (and still is) no way to subsequently delete that user account from the admin GUI.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search