code: func (r *RoleV3) GetNamespaces(rct RoleConditionType) []string {
  	if rct == Allow {
  		return r.Spec.Allow.Namespaces
  	}
  	return r.Spec.Deny.Namespaces
  }
docs: // GetNamespaces gets a list of namespaces this role is allowed or denied access to.