Solution
Thanks for your wishes. It was effective, indeed. ;-)
Okay. Done!
You can now get the modification code from:
(Giving Permission to Specified Staff to Add New Staff Based on Current Department in osTicket v1.6 RC5)
After you applied all of the modification code, go to your Panel Admin -> Staff -> User Groups, then click on the Managers item, then choose Yes at the Can Manage Staff directive, and click on the Submit button.
Then create a new staff, assign that staff with Managers user group, and make sure you choose Staff as the account type, afterwards, login by using that staff account, so now you should see a new tab in Staff Panel named My Staff. You can test it by adding some new staff records, and now you can see that there is only one department option (based on the current logged-in staff's department) at the Department directive, and there is only one option for User Group; it is Staff.
The conclusion for this MOD is: this My Staff tab is very useful if you want to give the ability for the certain staff which has the Staff account type to create a new staff without having to access the Panel Admin (of course, since that account type of that staff is not admin).
So, let me know your feedback.
Sincerely,
Masino Sinaga