-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: develop
Are you sure you want to change the base?
Conversation
config/settings/development.yml
Outdated
@@ -10,7 +10,7 @@ development: | |||
database: baw_local_dev | |||
pool: 5 | |||
username: postgres | |||
password: '' | |||
password: 'anothersecret938@' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not have been changed - or at least checked in?
config/settings/test.yml
Outdated
@@ -10,7 +10,7 @@ test: | |||
database: baw_local_test | |||
pool: 5 | |||
username: postgres | |||
password: '' | |||
password: 'anothersecret938@' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not have been changed - or at least not checked in?
db/structure.sql
Outdated
|
||
SET statement_timeout = 0; | ||
SET lock_timeout = 0; | ||
SET client_encoding = 'UTF8'; | ||
SET standard_conforming_strings = on; | ||
SET check_function_bodies = false; | ||
SET client_min_messages = warning; | ||
SET row_security = off; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be reverted - it interferes with the postgres version we are using
doc/guides/guides.yml
Outdated
@@ -1,3 +0,0 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this deleted?
The stub was needed at one point
In addition to the review, I have a few questions (because this appears to be more than skin-deep changes): User accounts are not archivable/paranoid:
I'm tempted to suggest that users should be paranoid... |
Most comments addressed - user paranoid/archive not implemented yet
So, regarding deleting a user, two (and a half) main options:
Deleting is the most obvious/easiest to explain to users. It is also the most difficult to implement, Archiving makes it easier on the developers, but is more complicated to explain to users. A combination might make the most sense, but is also even more complex - need to modify some tables What shall we do? |
Definitely archiving - and we'll keep it simple for now. Use the language "deactivate my account" to imply we will keep the data. Add explaining terminology:
I think if we ensure the account is deactivated, we can fix up small UI bugs later on, so don't worry about all the edge cases so much. (which is all much better than a hard deletion option because we'd have to consider every edge case). |
Will likely close #292 (see https://github.com/QutBioacoustics/baw-server/pull/321/files#diff-92cb535b3e202ecb0d7670f6d43a23f3R7) (i.e. |
Closes #295