Hi
Using Totara 2.6 is there any way of automatically assigning a specific user as the manager for all other users?
The reasoning behind this is we're not using the position heirarchy, but we require all program/certification overdue notifications for all users to be emailed to a single dedicated email address. So I figured the easiest way to do this would be to setup a user whos email address is the dedicated mailbox, and then assign them as every users manager.
As users get added to the system though they would need to have this setup manually, as single or bulk upload (not Totara Sync) doesn't allow you to set the manager there and then.
I figured to get round that we could have a nightly executed stored procedure in the database that adds a row to the pos_assignment table for any users who aren't setup in there already. However the reportstoid column has me confused and seems to link in with a number of other tables through a more complex relationship, which possibly makes direct manipulation of this table a bad idea unless I could just always use the same "reportstoid" value for all records?
Otherwise any ideas how I could achieve this? How easy would it be to amend the programs to just directly send to the mailbox, or hardcode the mailbox users id instead of selecting the users manager and where would I find that code?
Thanks, Darren