starter
starter copied to clipboard
add a toggle-admin script to facilitate making a user an admin
This is just a simple script to facilitate toggling the is_admin field on any user based on his/her username.
Could you make it accept 1/0 to set/unset admin rather than toggling? I feel like explicitness here is critical.
(And thanks for contributing!)
Change made 👍 !
[semi-automated message] Hi, there has been no activity in this issue for a while so I'm closing it to keep the issues/pull requests manageable. If this is still an issue, please re-open with additional details.