code: func (s *AccessService) ListAccessRights(opt *ListAccessRightsOptions) (*map[string]ProjectAccessInfo, *Response, error) {
  	u := "access/"
  
  	u, err := addOptions(u, opt)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	v := new(map[string]ProjectAccessInfo)
  	resp, err := s.client.Call("GET", u, nil, v)
  	return v, resp, err
  }
docs: // ListAccessRights lists the access rights for projects.
  // As result a map is returned that maps the project name to ProjectAccessInfo entities.
  // The entries in the map are sorted by project name.
  //
  // Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-access.html#list-access