code: def update_permissions(self, grp_name, resource, permissions):
          
          self.project_service.set_auth(self._token_project)
          self.project_service.update_permissions(grp_name, resource, permissions)
docs: Update permissions for the group associated with the given resource.
  
          Args:
              grp_name (string): Name of group.
              resource (intern.resource.boss.Resource): Identifies which data
                  model object to operate on
              permissions (list): List of permissions to add to the given resource
  
          Raises:
              requests.HTTPError on failure.