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

We should not allow journalist username deleted #5232

Closed
kushaldas opened this issue May 6, 2020 · 8 comments · Fixed by #5284
Closed

We should not allow journalist username deleted #5232

kushaldas opened this issue May 6, 2020 · 8 comments · Fixed by #5284

Comments

@kushaldas
Copy link
Contributor

Because in #5178 we are now marking deleted as the name/uuid of any journalist account which is deleted from the system, we should not allow the term deleted as the journalist name (via the web interface). I think this will help in reducing confusion in future.

@redshiftzero redshiftzero added this to the 1.4.0 milestone May 6, 2020
@redshiftzero
Copy link
Contributor

Good point, we should have a disallowed list of usernames and disallow the creation of new usernames with that. Of course there can be existing users that have this username so we can keep that in mind for client development, but we can distinguish legitimate users with the username deleted from the case where the journalist was deleted by the fact that in the latter case the uuid will also be deleted. This'll involve a string change so we can do in 1.4.0

@prateekj117
Copy link
Contributor

@kushaldas @redshiftzero I would like to work on this.

@eloquence
Copy link
Member

@prateekj117 Go for it! Please find us on https://gitter.im/freedomofpress/securedrop if we can help you get started on this -- you can also come join our standups Monday-Thursday at 4PM UTC here https://meet.google.com/ekb-kkhf-mrk (they're announced on Gitter).

@prateekj117
Copy link
Contributor

@eloquence Sure.

@prateekj117
Copy link
Contributor

@eloquence I am confused why SecureDrop doesn't use a deleted_at column strategy. This way, we also won't face issues like these.

@zenmonkeykstop
Copy link
Contributor

Probably original design decisions like this were motivated by wanting to ensure a minimum amount of historical data on the system in case of theft/seizure. Having records of when accounts were added/deleted seems pretty innocuous, but you never know.

@prateekj117
Copy link
Contributor

prateekj117 commented May 22, 2020

@zenmonkeykstop @redshiftzero Hmm, I agree. Though, why don't we just have a deleted column with a boolean value. This saves us from having extra information in database.

@prateekj117
Copy link
Contributor

Ok, it must be that way, because even after deletion person can be personally identified if we keep a separate deleted bool column.

@eloquence eloquence removed this from the 1.4.0 milestone Jun 4, 2020
@rmol rmol closed this as completed in #5284 Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants