fix: do not require remoteOrgID for remote connection creation (#451)
This commit is contained in:
@ -16,14 +16,15 @@ import (
|
||||
|
||||
// PermissionResource struct for PermissionResource
|
||||
type PermissionResource struct {
|
||||
// The type of resource. In a `permission`, applies the permission to all resources of this type.
|
||||
Type string `json:"type" yaml:"type"`
|
||||
// If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type.
|
||||
// The ID of a specific resource. In a `permission`, applies the permission to only the resource with this ID.
|
||||
Id *string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
// Optional name of the resource if the resource has a name field.
|
||||
// Optional: A name for the resource. Not all resource types have a name field.
|
||||
Name *string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
// If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type.
|
||||
// The ID of the organization that owns the resource. In a `permission`, applies the permission to all resources of `type` owned by this organization.
|
||||
OrgID *string `json:"orgID,omitempty" yaml:"orgID,omitempty"`
|
||||
// Optional name of the organization of the organization with orgID.
|
||||
// Optional: The name of the organization with `orgID`.
|
||||
Org *string `json:"org,omitempty" yaml:"org,omitempty"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user