Skip to content

Commit

Permalink
Adds the instruction for deleting a member to the Admin guide
Browse files Browse the repository at this point in the history
  • Loading branch information
matyikriszta committed Nov 25, 2024
1 parent fb48c88 commit 5d1f461
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/admin/portal/guide.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@
%p You can query all of the organisers from a Chapter as well.

= dot_markdown("`Member.with_role(:organiser, Chapter.find(:13))`")

%h2 Deleting a member

%p To delete a member you need to have access to Heroku and the Heroku CLI.

%p From your terminal run the following command:

= dot_markdown("`rake member:delete'[email@address.com]'`")

%p Deleting will anonymise the member’s data, remove the authentication service so that the member cannot log in again and delete all subscriptions to chapters. It will also update all invitation tokens so any past emails sent with access links to workshops will stop working.

0 comments on commit 5d1f461

Please sign in to comment.