administrator

package
v0.0.0-...-78e7222 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CreateService = ServiceProvider + ".Create"
View Source
const DeleteService = ServiceProvider + ".Delete"
View Source
const ServiceProvider = "Client-Administrator"
View Source
const UpdateAllowedFieldsService = ServiceProvider + ".UpdateAllowedFields"

Variables

View Source
var ClientAdminUserPermissions = []api.Permission{
	UpdateAllowedFieldsService,
}
View Source
var ClientUserPermissions = make([]api.Permission, 0)
View Source
var CompanyUserPermissions = make([]api.Permission, 0)
View Source
var SystemUserPermissions = make([]api.Permission, 0)

Functions

This section is empty.

Types

type Administrator

type Administrator interface {
	UpdateAllowedFields(request *UpdateAllowedFieldsRequest) (*UpdateAllowedFieldsResponse, error)
	Create(request *CreateRequest) (*CreateResponse, error)
	Delete(request *DeleteRequest) (*DeleteResponse, error)
}

type CreateRequest

type CreateRequest struct {
	Claims claims.Claims
	Client client.Client
}

type CreateResponse

type CreateResponse struct {
	Client client.Client
}

type DeleteRequest

type DeleteRequest struct {
	Claims           claims.Claims
	ClientIdentifier identifier.Identifier
}

type DeleteResponse

type DeleteResponse struct {
}

type UpdateAllowedFieldsRequest

type UpdateAllowedFieldsRequest struct {
	Claims claims.Claims
	Client client.Client
}

type UpdateAllowedFieldsResponse

type UpdateAllowedFieldsResponse struct {
	Client client.Client
}

Directories

Path Synopsis
adaptor

Jump to

Keyboard shortcuts

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