added permissionview in appdetails, attention: contains errors