Documentation ¶
Index ¶
Constants ¶
View Source
const CreateService = ServiceProvider + ".Create"
View Source
const RetrieveService = ServiceProvider + ".Retrieve"
View Source
const ServiceProvider = "Role-RecordHandler"
View Source
const UpdateService = ServiceProvider + ".Update"
Variables ¶
View Source
var ClientAdminUserPermissions = make([]api2.Permission, 0)
View Source
var ClientUserPermissions = make([]api2.Permission, 0)
View Source
var CompanyAdminUserPermissions = make([]api2.Permission, 0)
View Source
var CompanyUserPermissions = make([]api2.Permission, 0)
View Source
var SystemUserPermissions = []api2.Permission{ CreateService, RetrieveService, UpdateService, }
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateResponse ¶
type RecordHandler ¶
type RecordHandler interface { Create(request *CreateRequest) (*CreateResponse, error) Retrieve(request *RetrieveRequest) (*RetrieveResponse, error) Update(request *UpdateRequest) (*UpdateResponse, error) }
type RetrieveRequest ¶
type RetrieveRequest struct {
Identifier identifier.Identifier
}
type RetrieveResponse ¶
type UpdateRequest ¶
type UpdateRequest struct { Identifier identifier.Identifier Role role2.Role }
type UpdateResponse ¶
Click to show internal directories.
Click to hide internal directories.