permissions

package
v2.124.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PermissionDescription

type PermissionDescription struct {
	CanApplyAtSpaceLevel  *bool    `json:"CanApplyAtSpaceLevel"`
	CanApplyAtSystemLevel *bool    `json:"CanApplyAtSystemLevel"`
	Description           string   `json:"Description,omitempty"`
	SupportedRestrictions []string `json:"SupportedRestrictions"`
}

type PermissionService

type PermissionService struct {
	services.Service
}

func NewPermissionService

func NewPermissionService(sling *sling.Sling, uriTemplate string) *PermissionService

type ProjectedTeamReferenceDataItem

type ProjectedTeamReferenceDataItem struct {
	ExternalSecurityGroups []core.NamedReferenceItem `json:"ExternalSecurityGroups"`
	ID                     string                    `json:"Id,omitempty"`
	IsDirectlyAssigned     bool                      `json:"IsDirectlyAssigned"`
	Name                   string                    `json:"Name,omitempty"`
	SpaceID                string                    `json:"SpaceId,omitempty"`
}

type SpacePermissions

type SpacePermissions struct {
	AccountCreate                     []UserPermissionRestriction `json:"AccountCreate"`
	AccountDelete                     []UserPermissionRestriction `json:"AccountDelete"`
	AccountEdit                       []UserPermissionRestriction `json:"AccountEdit"`
	AccountView                       []UserPermissionRestriction `json:"AccountView"`
	ActionTemplateCreate              []UserPermissionRestriction `json:"ActionTemplateCreate"`
	ActionTemplateDelete              []UserPermissionRestriction `json:"ActionTemplateDelete"`
	ActionTemplateEdit                []UserPermissionRestriction `json:"ActionTemplateEdit"`
	ActionTemplateView                []UserPermissionRestriction `json:"ActionTemplateView"`
	AdministerSystem                  []UserPermissionRestriction `json:"AdministerSystem"`
	ArtifactCreate                    []UserPermissionRestriction `json:"ArtifactCreate"`
	ArtifactDelete                    []UserPermissionRestriction `json:"ArtifactDelete"`
	ArtifactEdit                      []UserPermissionRestriction `json:"ArtifactEdit"`
	ArtifactView                      []UserPermissionRestriction `json:"ArtifactView"`
	BuildInformationAdminister        []UserPermissionRestriction `json:"BuildInformationAdminister"`
	BuildInformationPush              []UserPermissionRestriction `json:"BuildInformationPush"`
	BuiltInFeedAdminister             []UserPermissionRestriction `json:"BuiltInFeedAdminister"`
	BuiltInFeedDownload               []UserPermissionRestriction `json:"BuiltInFeedDownload"`
	BuiltInFeedPush                   []UserPermissionRestriction `json:"BuiltInFeedPush"`
	CertificateCreate                 []UserPermissionRestriction `json:"CertificateCreate"`
	CertificateDelete                 []UserPermissionRestriction `json:"CertificateDelete"`
	CertificateEdit                   []UserPermissionRestriction `json:"CertificateEdit"`
	CertificateExportPrivateKey       []UserPermissionRestriction `json:"CertificateExportPrivateKey"`
	CertificateView                   []UserPermissionRestriction `json:"CertificateView"`
	ConfigureServer                   []UserPermissionRestriction `json:"ConfigureServer"`
	DefectReport                      []UserPermissionRestriction `json:"DefectReport"`
	DefectResolve                     []UserPermissionRestriction `json:"DefectResolve"`
	DeploymentCreate                  []UserPermissionRestriction `json:"DeploymentCreate"`
	DeploymentDelete                  []UserPermissionRestriction `json:"DeploymentDelete"`
	DeploymentView                    []UserPermissionRestriction `json:"DeploymentView"`
	EnvironmentCreate                 []UserPermissionRestriction `json:"EnvironmentCreate"`
	EnvironmentDelete                 []UserPermissionRestriction `json:"EnvironmentDelete"`
	EnvironmentEdit                   []UserPermissionRestriction `json:"EnvironmentEdit"`
	EnvironmentView                   []UserPermissionRestriction `json:"EnvironmentView"`
	EventView                         []UserPermissionRestriction `json:"EventView"`
	FeedEdit                          []UserPermissionRestriction `json:"FeedEdit"`
	FeedView                          []UserPermissionRestriction `json:"FeedView"`
	InterruptionSubmit                []UserPermissionRestriction `json:"InterruptionSubmit"`
	InterruptionView                  []UserPermissionRestriction `json:"InterruptionView"`
	InterruptionViewSubmitResponsible []UserPermissionRestriction `json:"InterruptionViewSubmitResponsible"`
	LibraryVariableSetCreate          []UserPermissionRestriction `json:"LibraryVariableSetCreate"`
	LibraryVariableSetDelete          []UserPermissionRestriction `json:"LibraryVariableSetDelete"`
	LibraryVariableSetEdit            []UserPermissionRestriction `json:"LibraryVariableSetEdit"`
	LibraryVariableSetView            []UserPermissionRestriction `json:"LibraryVariableSetView"`
	LifecycleCreate                   []UserPermissionRestriction `json:"LifecycleCreate"`
	LifecycleDelete                   []UserPermissionRestriction `json:"LifecycleDelete"`
	LifecycleEdit                     []UserPermissionRestriction `json:"LifecycleEdit"`
	LifecycleView                     []UserPermissionRestriction `json:"LifecycleView"`
	MachineCreate                     []UserPermissionRestriction `json:"MachineCreate"`
	MachineDelete                     []UserPermissionRestriction `json:"MachineDelete"`
	MachineEdit                       []UserPermissionRestriction `json:"MachineEdit"`
	MachinePolicyCreate               []UserPermissionRestriction `json:"MachinePolicyCreate"`
	MachinePolicyDelete               []UserPermissionRestriction `json:"MachinePolicyDelete"`
	MachinePolicyEdit                 []UserPermissionRestriction `json:"MachinePolicyEdit"`
	MachinePolicyView                 []UserPermissionRestriction `json:"MachinePolicyView"`
	MachineView                       []UserPermissionRestriction `json:"MachineView"`
	ProcessEdit                       []UserPermissionRestriction `json:"ProcessEdit"`
	ProcessView                       []UserPermissionRestriction `json:"ProcessView"`
	ProjectCreate                     []UserPermissionRestriction `json:"ProjectCreate"`
	ProjectDelete                     []UserPermissionRestriction `json:"ProjectDelete"`
	ProjectEdit                       []UserPermissionRestriction `json:"ProjectEdit"`
	ProjectGroupCreate                []UserPermissionRestriction `json:"ProjectGroupCreate"`
	ProjectGroupDelete                []UserPermissionRestriction `json:"ProjectGroupDelete"`
	ProjectGroupEdit                  []UserPermissionRestriction `json:"ProjectGroupEdit"`
	ProjectGroupView                  []UserPermissionRestriction `json:"ProjectGroupView"`
	ProjectView                       []UserPermissionRestriction `json:"ProjectView"`
	ProxyCreate                       []UserPermissionRestriction `json:"ProxyCreate"`
	ProxyDelete                       []UserPermissionRestriction `json:"ProxyDelete"`
	ProxyEdit                         []UserPermissionRestriction `json:"ProxyEdit"`
	ProxyView                         []UserPermissionRestriction `json:"ProxyView"`
	ReleaseCreate                     []UserPermissionRestriction `json:"ReleaseCreate"`
	ReleaseDelete                     []UserPermissionRestriction `json:"ReleaseDelete"`
	ReleaseEdit                       []UserPermissionRestriction `json:"ReleaseEdit"`
	ReleaseView                       []UserPermissionRestriction `json:"ReleaseView"`
	RunbookEdit                       []UserPermissionRestriction `json:"RunbookEdit"`
	RunbookRunCreate                  []UserPermissionRestriction `json:"RunbookRunCreate"`
	RunbookRunDelete                  []UserPermissionRestriction `json:"RunbookRunDelete"`
	RunbookRunView                    []UserPermissionRestriction `json:"RunbookRunView"`
	RunbookView                       []UserPermissionRestriction `json:"RunbookView"`
	SpaceCreate                       []UserPermissionRestriction `json:"SpaceCreate"`
	SpaceDelete                       []UserPermissionRestriction `json:"SpaceDelete"`
	SpaceEdit                         []UserPermissionRestriction `json:"SpaceEdit"`
	SpaceView                         []UserPermissionRestriction `json:"SpaceView"`
	SubscriptionCreate                []UserPermissionRestriction `json:"SubscriptionCreate"`
	SubscriptionDelete                []UserPermissionRestriction `json:"SubscriptionDelete"`
	SubscriptionEdit                  []UserPermissionRestriction `json:"SubscriptionEdit"`
	SubscriptionView                  []UserPermissionRestriction `json:"SubscriptionView"`
	TagSetCreate                      []UserPermissionRestriction `json:"TagSetCreate"`
	TagSetDelete                      []UserPermissionRestriction `json:"TagSetDelete"`
	TagSetEdit                        []UserPermissionRestriction `json:"TagSetEdit"`
	TaskCancel                        []UserPermissionRestriction `json:"TaskCancel"`
	TaskCreate                        []UserPermissionRestriction `json:"TaskCreate"`
	TaskEdit                          []UserPermissionRestriction `json:"TaskEdit"`
	TaskView                          []UserPermissionRestriction `json:"TaskView"`
	TeamCreate                        []UserPermissionRestriction `json:"TeamCreate"`
	TeamDelete                        []UserPermissionRestriction `json:"TeamDelete"`
	TeamEdit                          []UserPermissionRestriction `json:"TeamEdit"`
	TeamView                          []UserPermissionRestriction `json:"TeamView"`
	TenantCreate                      []UserPermissionRestriction `json:"TenantCreate"`
	TenantDelete                      []UserPermissionRestriction `json:"TenantDelete"`
	TenantEdit                        []UserPermissionRestriction `json:"TenantEdit"`
	TenantView                        []UserPermissionRestriction `json:"TenantView"`
	TriggerCreate                     []UserPermissionRestriction `json:"TriggerCreate"`
	TriggerDelete                     []UserPermissionRestriction `json:"TriggerDelete"`
	TriggerEdit                       []UserPermissionRestriction `json:"TriggerEdit"`
	TriggerView                       []UserPermissionRestriction `json:"TriggerView"`
	UserEdit                          []UserPermissionRestriction `json:"UserEdit"`
	UserInvite                        []UserPermissionRestriction `json:"UserInvite"`
	UserRoleEdit                      []UserPermissionRestriction `json:"UserRoleEdit"`
	UserRoleView                      []UserPermissionRestriction `json:"UserRoleView"`
	UserView                          []UserPermissionRestriction `json:"UserView"`
	VariableEdit                      []UserPermissionRestriction `json:"VariableEdit"`
	VariableEditUnscoped              []UserPermissionRestriction `json:"VariableEditUnscoped"`
	VariableView                      []UserPermissionRestriction `json:"VariableView"`
	VariableViewUnscoped              []UserPermissionRestriction `json:"VariableViewUnscoped"`
	WorkerEdit                        []UserPermissionRestriction `json:"WorkerEdit"`
	WorkerView                        []UserPermissionRestriction `json:"WorkerView"`
}

type UserPermissionRestriction

type UserPermissionRestriction struct {
	RestrictedToEnvironmentIds  []string `json:"RestrictedToEnvironmentIds"`
	RestrictedToProjectGroupIds []string `json:"RestrictedToProjectGroupIds"`
	RestrictedToProjectIds      []string `json:"RestrictedToProjectIds"`
	RestrictedToTenantIds       []string `json:"RestrictedToTenantIds"`
	SpaceID                     string   `json:"SpaceId,omitempty"`
}

type UserPermissionSet

type UserPermissionSet struct {
	ID                    string                           `json:"Id"`
	IsPermissionsComplete bool                             `json:"IsPermissionsComplete"`
	IsTeamsComplete       bool                             `json:"IsTeamsComplete"`
	Links                 map[string]string                `json:"Links,omitempty"`
	SpacePermissions      SpacePermissions                 `json:"SpacePermissions,omitempty"`
	SystemPermissions     []string                         `json:"SystemPermissions"`
	Teams                 []ProjectedTeamReferenceDataItem `json:"Teams"`
}

Jump to

Keyboard shortcuts

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