code: def get_permissions(self, grp_name, resource):
          
          self.project_service.set_auth(self._token_project)
          return self.project_service.get_permissions(grp_name, resource)
docs: 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.