permissionsetgroup

package
v0.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "PermissionSetGroup"

Variables

View Source
var PermissionSetExistsError = errors.New("permission set already exists")

Functions

This section is empty.

Types

type PermissionSet

type PermissionSet struct {
	Text string `xml:",chardata"`
}

type PermissionSetGroup

type PermissionSetGroup struct {
	metadata.MetadataInfo
	XMLName     xml.Name `xml:"PermissionSetGroup"`
	Xmlns       string   `xml:"xmlns,attr"`
	Description struct {
		Text string `xml:",innerxml"`
	} `xml:"description"`
	HasActivationRequired *struct {
		Text string `xml:",chardata"`
	} `xml:"hasActivationRequired"`
	Label struct {
		Text string `xml:",chardata"`
	} `xml:"label"`
	PermissionSets PermissionSetList `xml:"permissionSets"`
	Status         struct {
		Text string `xml:",chardata"`
	} `xml:"status"`
}

func Open

func Open(path string) (*PermissionSetGroup, error)

func (*PermissionSetGroup) AddPermissionSet

func (p *PermissionSetGroup) AddPermissionSet(permissionSetName string) error

func (*PermissionSetGroup) DeletePermissionSet

func (p *PermissionSetGroup) DeletePermissionSet(permissionSetName string) error

func (*PermissionSetGroup) GetPermissionSets

func (p *PermissionSetGroup) GetPermissionSets() PermissionSetList

func (*PermissionSetGroup) SetMetadata

func (c *PermissionSetGroup) SetMetadata(m metadata.MetadataInfo)

func (*PermissionSetGroup) Type

type PermissionSetList

type PermissionSetList []PermissionSet

func (PermissionSetList) Tidy

func (pl PermissionSetList) Tidy()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL