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