Updated permissions and entity check for view of users and service type.