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

Add an admin interface for changing the account status, or at least to toggle between 'active' and 'nologin' #438

Open
neilb opened this issue Apr 2, 2024 · 3 comments · May be fixed by #458
Labels

Comments

@neilb
Copy link
Collaborator

neilb commented Apr 2, 2024

As a PAUSE admin, I'm not able to change a user's state between active and nologin (the ustatus column in the DB) – I have to ask Andreas to do a DB update. It is possible to trigger a change to the state from nologin to active, by changing other fields in the account, but it would be helpful if I could explicitly change this field on a user.

@charsbar charsbar linked a pull request Apr 27, 2024 that will close this issue
@rjbs rjbs added the webui label Apr 28, 2024
@charsbar
Copy link
Collaborator

An email to let the user to know onetime password should also be sent when the ustatus is change by an admin?

@neilb
Copy link
Collaborator Author

neilb commented Jun 14, 2024

An email to let the user to know onetime password should also be sent when the ustatus is change by an admin?

My first gut reaction to this was "we can leave it to the admin to email, as they'll probably be replying", because that's what I do. But we should assume they'll remember, so probably yes, send a quick email.

@neilb
Copy link
Collaborator Author

neilb commented Jun 14, 2024

I've worked out that there's an interface-by-proxy, or whatever the right term is, at least for unblocking someone.

If I change the secret email address field, then if there's a nologin block on the user, it will be removed. I generally add "+pause" to the email address, and then immediately remove it. This only works on the secret email field - changing the public email field doesn't have this (side) effect.

There isn't any way for me to set nologin on a user, other than my existing UI, which is Andreas :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants