Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permissions ¶ added in v0.20.0
type Permissions struct {
Permissions []string
}
func (*Permissions) AppendPermissions ¶ added in v0.20.0
func (p *Permissions) AppendPermissions(ctxID string, permissions ...string)
type ProjectOrgSearchResponse ¶ added in v0.20.0
type UserGrant ¶
type UserGrant struct {
es_models.ObjectRoot
State UserGrantState
UserID string
ProjectID string
GrantID string
RoleKeys []string
}
func (*UserGrant) IsInactive ¶
func (*UserGrant) RemoveRoleKeyIfExisting ¶ added in v0.32.0
func (*UserGrant) RemoveRoleKeysIfExisting ¶ added in v0.32.0
type UserGrantSearchKey ¶ added in v0.12.0
type UserGrantSearchKey int32
const ( UserGrantSearchKeyUnspecified UserGrantSearchKey = iota UserGrantSearchKeyUserID UserGrantSearchKeyProjectID UserGrantSearchKeyResourceOwner UserGrantSearchKeyState UserGrantSearchKeyGrantID UserGrantSearchKeyOrgName UserGrantSearchKeyRoleKey UserGrantSearchKeyID UserGrantSearchKeyUserName UserGrantSearchKeyFirstName UserGrantSearchKeyLastName UserGrantSearchKeyEmail UserGrantSearchKeyOrgDomain UserGrantSearchKeyProjectName UserGrantSearchKeyDisplayName UserGrantSearchKeyWithGranted )
type UserGrantSearchQuery ¶ added in v0.12.0
type UserGrantSearchQuery struct {
Key UserGrantSearchKey
Method model.SearchMethod
Value interface{}
}
type UserGrantSearchRequest ¶ added in v0.12.0
type UserGrantSearchRequest struct {
Offset uint64
Limit uint64
SortingColumn UserGrantSearchKey
Asc bool
Queries []*UserGrantSearchQuery
}
func (*UserGrantSearchRequest) AppendMyOrgQuery ¶ added in v0.12.0
func (r *UserGrantSearchRequest) AppendMyOrgQuery(orgID string)
func (*UserGrantSearchRequest) AppendProjectIDQuery ¶ added in v0.45.0
func (r *UserGrantSearchRequest) AppendProjectIDQuery(projectID string)
func (*UserGrantSearchRequest) EnsureLimit ¶ added in v0.12.0
func (r *UserGrantSearchRequest) EnsureLimit(limit uint64)
func (*UserGrantSearchRequest) GetSearchQuery ¶ added in v0.62.0
func (r *UserGrantSearchRequest) GetSearchQuery(key UserGrantSearchKey) (int, *UserGrantSearchQuery)
type UserGrantSearchResponse ¶ added in v0.12.0
type UserGrantState ¶
type UserGrantState int32
const ( UserGrantStateActive UserGrantState = iota UserGrantStateInactive UserGrantStateRemoved )
type UserGrantView ¶ added in v0.12.0
type UserGrantView struct {
ID string
ResourceOwner string
UserID string
ProjectID string
GrantID string
UserName string
FirstName string
LastName string
DisplayName string
Email string
ProjectName string
OrgName string
OrgPrimaryDomain string
RoleKeys []string
CreationDate time.Time
ChangeDate time.Time
State UserGrantState
Sequence uint64
}
Click to show internal directories.
Click to hide internal directories.