posit-dev / posit-dev/ptd

Site Clean Up

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
7
Forks
2
Avg merge
1d 15h
Merged PRs (30d)
3

Description

Some workshop sites accumulate user data from workshops over time that we should be cleaning up. Workbench home directories, Connect apps, user records in both product's databases, Keycloak user records, other??

We should have an automated way or at least a playbook for cleaning these up between workshops.

Workbench

Home directories can be cleared by interacting with the FSx volume directly from a pod.
Removing users from the database requires connecting to the database and executing SQL, doesn't appear to be any admin cli for this.

We should see if there's any admin tooling to do both of the above.

Connect

usermanager cli has a delete user option, need to validate if this deletes all content too.

Keycloak

There's a Keycloak admin cli tool that delete users. The Keycloak admin dashboard also lets you delete users.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the cleanup surfaces named in the issue: Workbench home directories and database users, Connect's usermanager CLI, and Keycloak's admin tools. Validate what each deletion removes, then define an automated workflow or playbook that reliably cleans all workshop data and documents how completion is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, sql
Domain
authentication, databases, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.