Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role struct { ID uuid.UUID `json:"id" db:"id"` RoleType RoleType `json:"role_type" db:"role_type"` RoleName RoleName `json:"role_name" db:"role_name"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` }
Role represents a Role for users
type RoleType ¶
type RoleType string
RoleType represents the types of users who can authenticate in the admin app
const ( // RoleTypeTOO is the Task Ordering Officer Role RoleTypeTOO RoleType = "task_ordering_officer" // RoleTypeCustomer is the Customer Role RoleTypeCustomer RoleType = "customer" // RoleTypeTIO is the Task Invoicing Officer Role RoleTypeTIO RoleType = "task_invoicing_officer" // RoleTypeContractingOfficer is the Contracting Officer Role RoleTypeContractingOfficer RoleType = "contracting_officer" // RoleTypeServicesCounselor is the Services Counselor Role RoleTypeServicesCounselor RoleType = "services_counselor" // RoleTypePrimeSimulator is the PrimeSimulator Role RoleTypePrimeSimulator RoleType = "prime_simulator" // RoleTypeQae is the Quality Assurance Evaluator Role RoleTypeQae RoleType = "qae" // RoleTypeCustomerServiceRepresentative is the Customer Support Representative Role RoleTypeCustomerServiceRepresentative RoleType = "customer_service_representative" // RoleTypePrime is the Role associated with actions performed by the Prime RoleTypePrime RoleType = "prime" // RoleTypeHQ is the Headquarters Role RoleTypeHQ RoleType = "headquarters" // RoleTypeGSR is the Government Surveillance Representative Role RoleTypeGSR RoleType = "gsr" )
Click to show internal directories.
Click to hide internal directories.