Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add cancel account button to Admin user edit view #321

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
working on user archive tests and controller setup
cofiem committed Feb 14, 2017

Verified

This commit was signed with the committer’s verified signature.
Okabe-Junya Junya Okabe
commit 04fc01ae0884dcba3fcfbd91139291c0b8517c40
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Changelog

## Unreleased
- 2017-02-12
- Updated how the site deals with cancelling a user account [#295](https://github.com/QutBioacoustics/baw-server/issues/295):
- add `acts_as_paranoid` to `users`
- add tests for archiving users
- add tests to ensure related records are not deleted when a user is archived
- add tests to ensure audio recordings are not deleted when a user is archived or deleted
- change buttons in UI to be "deactivate my account" rather than 'cancel/delete my account"
- in user profile, add text "When your account is deactivated, you can no longer log in, or make any changes. No other user will be able to see your identifiable information."
- places on the Rails views that show user names should show "Deactivated user" for archived users instead of user name
- change exports that include user names to be blank instead if user is archived
- only admin & user themselves can archive/deactivate a user
- only admin can hard delete a user (must be archived first)
- can set foreign keys to null or another user instead of cascading (not sure about this)?
- 2016-09-16
- Added support for partial payloads for analysis jobs items [TODO]
- 2016-09-13
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ gem 'uuidtools', '~> 2.1.5'
# Note: if other modifications are made to the default_scope
# there are manually constructed queries that need to be updated to match
# (search for ':deleted_at' to find the relevant places)
gem 'acts_as_paranoid', git: 'https://github.com/ActsAsParanoid/acts_as_paranoid.git', branch: :master, ref: 'c2db19554ddaedcac0a2b8d6a0563dea83c972c5'
gem 'acts_as_paranoid', '~> 0.5.0'


# for state machines
Loading