Any way to disable accounts at a certain date (eg trainers?)

Hello, isn’t there any app to set account disabling at a certain date? This could be useful for temporary accounts like trainers.
I dont have access to the NC server, so I can’t use occ/cron :-/

Guest accounts app?

yes, but it’s another thing. With the guest app you can limit the permissions of the user, while I often need something that doesn’t limit the permissions, just auto disable them after some time…

That is not a feature available directly to Nextcloud. It is a corner use-case. There is a possible workaround:

occ web. That is an app that brings the ability to run occ commands through your browser window inside Nextcloud.

There is not as such a way to directly disable a user/an account from the GUI. You can only change their password and log them out on all devices. For this you need the occ.
Use the occ web and do the following:

occ user:list
And then when you find the right user:
ucc user:disable

You should have a look on the Account retention (formerly User retention) - Apps - App Store - Nextcloud app.

1 Like

Definately! Didnt know this app.

Again, close scenario but not exactly the same. The app allows you to disable accounts/users after a certain time that the account has not been used (say, the user doesn’t log in for 3 months), but not to set a default disable/delete date at user creation.

Perhaps this could be a feature request for that app..

Yeah sure, feel free to open one here.

You might also consider opening one in the server repo, if none exist yet, as I think it would make sense to integrate such a feature directly into the core: GitHub · Where software is built