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 CompanyAdminUserPermissions = []api.Permission{ UpdateAllowedFieldsService, CreateService, DeleteService, }
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 CreateResponse ¶
type DeleteRequest ¶
type DeleteRequest struct { Claims claims.Claims ClientIdentifier identifier.Identifier }
type DeleteResponse ¶
type DeleteResponse struct { }
Click to show internal directories.
Click to hide internal directories.