fix getUserPermissions: return all aprove for admin, fix no values case