98 - PV - Unit based permissions for admin functions

Finished the testcase.