We would like to see a more automatic way to enable/disable user accounts based on a schedule of some sort (forgive me if this feature is in the Schedule app, I couln’t find it/havent used it yet really).
I usually get an email every week with new starters/leavers and would like a way to setup accounts so that they activate on the day someone starts and deactivate the day someone leaves (unless I leave it empty ofcourse).
Is this something that is being thought about?
It’s also a question from Management as obviously they dont want to have a situation where someone forgets and we pay for a user that is no longer needed.
Discussion here and other places is welcome and will be escalated by me and other community Shotgunners, but official requests should be directed to the roadmap portal .
Additionally, if you have feedback on our feature request workflow, we’re soliciting feedback in the thread I mentioned above and will share with the community as we iterate it.
Aiming to have an update on this front in the not-to-distant future. Till then, the roadmap portal is your best avenue for feature requests and the forum for discussion.
I don’t know of a way to do this type of automation in app right now.
I did work at a studio using SG in the past that had something like this. It was an in-house script that ran once a day—checking upcoming assignments (looked at Task and Start Date), ensuring the user’s account was active, and made it so if not.
This is definitely a case where, as you and johnny discussed, a small cron (or Windows Task Scheduler, depending on your host OS) job linked to a Shotgun API script would easily do the work you’re describing. With two Date fields on the Person (HumanUser) entity, a cron could handle the disabling of users as needed. Additional business logic (are there unfinished Tasks, etc.) could be added in as needed.
I was originally going to suggest the Events Daemon, but that triggers off of EventLogEntry records, and wouldn’t apply here since the date is what’s changing and triggering the work you need done.
Hope that extra bit of detail is helpful (and +1 to everything that @johnny.duguid said about the roadmap portal )
I think the OOTB solution might be to either use Filters (or Conditional Formatting) and a calendar reminder. For instance, every Monday, have a reminder to look at your people Page.
I’ve created Start/End date Fields on the Person Entity, and a Tab on the People Page, grouped by Status that looks like this:
yeah I was thinking about doing such a thing, just think it would be a great addition to “Standard Shotgun”. Also since there are now scheduling apps bundled with Shotgun, this feature would kind of fit into that nicely.