org

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore ginrpf, gonic, paulo ferreira

cSpell:ignore ginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddinGroupValidateOrgRequest

func AddinGroupValidateOrgRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

Global initial organization request validation

func AddinGroupValidateOrgUserRequest

func AddinGroupValidateOrgUserRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

Global initial organization/user request validation

func AddinRequestParamsOrg

func AddinRequestParamsOrg(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

Extract GIN Request Parameters for a org request

func AddinRequestParamsOrgUser

func AddinRequestParamsOrgUser(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

Extract GIN Request Parameters for a organization/user request

func AssertNotSystemOrgRegistry

func AssertNotSystemOrgRegistry(r rpf.GINProcessor, c *gin.Context)

func AssertNotSystemOrgRequest

func AssertNotSystemOrgRequest(r rpf.GINProcessor, c *gin.Context)

func AssertOrgUnblocked

func AssertOrgUnblocked(r rpf.GINProcessor, c *gin.Context)

func BaseValidateOrgRequest

COMMON //

func CreateFromJSON

func CreateFromJSON(r rpf.GINProcessor, c *gin.Context)

func DBGetOrgByID

func DBGetOrgByID(r rpf.GINProcessor, c *gin.Context)

func DBInsertOrg

func DBInsertOrg(r rpf.GINProcessor, c *gin.Context)

func DBRegisterOrg

func DBRegisterOrg(r rpf.GINProcessor, c *gin.Context)

func DBRegisterStoreWithOrg

func DBRegisterStoreWithOrg(r rpf.GINProcessor, c *gin.Context)

func DBRegistryDeleteStore

func DBRegistryDeleteStore(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgFind

func DBRegistryOrgFind(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgFindByID

func DBRegistryOrgFindByID(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgList

func DBRegistryOrgList(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgStoreFind

func DBRegistryOrgStoreFind(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgStoreList

func DBRegistryOrgStoreList(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgStoreUpdate

func DBRegistryOrgStoreUpdate(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgUpdate

func DBRegistryOrgUpdate(r rpf.GINProcessor, c *gin.Context)

func DBRegistryOrgUpdateFromOrg

func DBRegistryOrgUpdateFromOrg(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUpdateFromStore

func DBRegistryUpdateFromStore(r rpf.GINProcessor, c *gin.Context)

func DBUpdateOrg

func DBUpdateOrg(r rpf.GINProcessor, c *gin.Context)

func ExportOrganizationBasic

func ExportOrganizationBasic(r rpf.GINProcessor, c *gin.Context)

func ExportOrganizationFull

func ExportOrganizationFull(r rpf.GINProcessor, c *gin.Context)

func ExportRegistryOrgStoreList

func ExportRegistryOrgStoreList(r rpf.GINProcessor, c *gin.Context)

func ExportSystemRegistryOrgList

func ExportSystemRegistryOrgList(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterOrg

func ExtractGINParameterOrg(r rpf.GINProcessor, c *gin.Context)

func GroupAssertUserOrganizationPermissions

func GroupAssertUserOrganizationPermissions(parent rpf.GINProcessor, userid uint64, orgid uint64, roles []uint32, checkOrgLock bool, checkUserLock bool, checkUserIsAdmin bool) *rpf.ProcessorGroup

func GroupOrgRequestInitialize

func GroupOrgRequestInitialize(parent rpf.GINProcessor, orgRef interface{}, roles []uint32, noSystemOrg bool) *rpf.ProcessorGroup

func GroupOrgUserAdminRequestInitialize

func GroupOrgUserAdminRequestInitialize(parent rpf.GINProcessor, roles []uint32) *rpf.ProcessorGroup

func GroupOrgUserRequestInitialize

func GroupOrgUserRequestInitialize(parent rpf.GINProcessor, roles []uint32) *rpf.ProcessorGroup

func GroupSystemOrgRequestInitialize

func GroupSystemOrgRequestInitialize(parent rpf.GINProcessor, roles []uint32) *rpf.ProcessorGroup

func ManagerUpdateFromJSON

func ManagerUpdateFromJSON(r rpf.GINProcessor, c *gin.Context)

func SystemUpdateFromJSON

func SystemUpdateFromJSON(r rpf.GINProcessor, c *gin.Context)

Types

type BasicOrgToJSON

type BasicOrgToJSON struct {
	ID           uint64           // Organization Shard ID
	Organization orm.Organization // Organization Object
}

ORGANIZATION //

func (*BasicOrgToJSON) MarshalJSON

func (o *BasicOrgToJSON) MarshalJSON() ([]byte, error)

JSON Marshaller

type BasicRegOrgStoreToJSON

type BasicRegOrgStoreToJSON struct {
	Registry *orm.OrgStoreRegistry
}

func (*BasicRegOrgStoreToJSON) MarshalJSON

func (o *BasicRegOrgStoreToJSON) MarshalJSON() ([]byte, error)

type BasicRegOrgToJSON

type BasicRegOrgToJSON struct {
	Registry *orm.OrgRegistry
}

ORGANIZATION REGISTRY //

func (*BasicRegOrgToJSON) MarshalJSON

func (o *BasicRegOrgToJSON) MarshalJSON() ([]byte, error)

type FullOrgToJSON

type FullOrgToJSON struct {
	Registry     *orm.OrgRegistry  // Organization Registry
	Organization *orm.Organization // Organization Object
}

func (*FullOrgToJSON) MarshalJSON

func (o *FullOrgToJSON) MarshalJSON() ([]byte, error)

type FullRegOrgStoreToJSON

type FullRegOrgStoreToJSON struct {
	Registry *orm.OrgStoreRegistry
}

func (*FullRegOrgStoreToJSON) MarshalJSON

func (o *FullRegOrgStoreToJSON) MarshalJSON() ([]byte, error)

type FullRegOrgToJSON

type FullRegOrgToJSON struct {
	Registry *orm.OrgRegistry
}

func (*FullRegOrgToJSON) MarshalJSON

func (o *FullRegOrgToJSON) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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