I know this project is mostly dead but is there any way to restrict who time a time admin can edit...
I was thinking that one could use the group of the valid_time_admin currently logged in and do a compairison to what people are output into the table and thus allowed to edit their time.
The Idea is for a larger company with multi teared time admins and there by not allowing any one to edit their own time. Ex: make 3 groups in one office... user1, user2, leadedit1, leadedit2, leads, and admin. Users and leads would not be able to edit their own time, but the leads would have an editing account so they could edit their underlings times. like leadedit1 would be able to edit user1 and so on....
Please help... I do not know how to find the current group of the logged in person and then how to only output persons in matching groups in the time edit field...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know this project is mostly dead but is there any way to restrict who time a time admin can edit...
I was thinking that one could use the group of the valid_time_admin currently logged in and do a compairison to what people are output into the table and thus allowed to edit their time.
The Idea is for a larger company with multi teared time admins and there by not allowing any one to edit their own time. Ex: make 3 groups in one office... user1, user2, leadedit1, leadedit2, leads, and admin. Users and leads would not be able to edit their own time, but the leads would have an editing account so they could edit their underlings times. like leadedit1 would be able to edit user1 and so on....
Please help... I do not know how to find the current group of the logged in person and then how to only output persons in matching groups in the time edit field...