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

Disable Users? #21

Closed
siredwin opened this issue Jun 30, 2019 · 1 comment
Closed

Disable Users? #21

siredwin opened this issue Jun 30, 2019 · 1 comment
Assignees
Labels

Comments

@siredwin
Copy link

What would be the best way to disable a user without deleting them? Maybe for disciplinary action or for reported abuse?

@xyproto
Copy link
Owner

xyproto commented Jun 30, 2019

One way could be to add a property, then set it to "disabled" for affected users, then use a custom rejection function, like in the net/http example. Or save the details and remove the user, then recreate it later.

xyproto added a commit that referenced this issue Jul 29, 2019
* Update link to Go Report Card
* Add a note a about deleting users, ref #21
@xyproto xyproto closed this as completed Jul 29, 2019
@xyproto xyproto self-assigned this Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants