code: func (e *engineImpl) GetVisibleJob(c context.Context, jobID string) (*Job, error) {
  	job, err := e.getJob(c, jobID)
  	switch {
  	case err != nil:
  		return nil, err
  	case job == nil || !job.Enabled:
  		return nil, ErrNoSuchJob
  	}
  	if err := job.CheckRole(c, acl.Reader); err != nil {
  		if err == ErrNoPermission {
  			err = ErrNoSuchJob // pretend protected jobs don't exist
  		}
  		return nil, err
  	}
  	return job, nil
  }
docs: // GetVisibleJob returns a single visible job given its full ID.
  //
  // Part of the public interface, checks ACLs.