Replace nybruker.pl
#154
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should improve our "register new users"-workflow, by abstracting away some of the technical details.
Several active / old members, including board members, are afraid of the current system, and there are a few traps to go in if you don't pay attention.
A new script can correctly set the uid/gid every time, not ask 100 questions about policies and lifetimes, etc.
A separate form to request membership has also been requested, to make the process more traceable and asynchronous than having to sit down with an admin. This, however, opens up a problem regarding the initial password of the user?
Would we like to keep the script as a perl script for old times sake, or do we just purge it completely and create a new system?
Registering a new user, like the script does it, is just running
addin kadmin and append a line to passwd, so the script is just old code that helps you select a uid and map username->realname. It is really short and simple, will always be accessible at7ac17cd62f/standard/passwd/nybruker.pl, and we could reimplement it in python in 5 minutes without looking at the old one, so I don't think preserving it is any issue at all.The new script could do various quality of life things, like
~/pvv-photos~/web-docs~/public_gopher~/.forward.example~/.procmailrcskel at home:
Also, we could ask for their discord username and give them the member role automagically :)