<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_permissions(self, grp_name, resource):
 """ Get permissions associated the group has with the given resource. Args: grp_name (string):
 Name of group. resource (intern.resource.boss.Resource):
 Identifies which data model object to operate on. Returns: (list):
 List of permissions. Raises: requests.HTTPError on failure. """

        self.project_service.set_auth(self._token_project)
        return self.project_service.get_permissions(grp_name, resource)