From wiki.ginstr.com
Jump to: navigation, search
Line 43: Line 43:
  
  
MOBI staff :
+
== MOBI staff ==
 
all tables full CRUD
 
all tables full CRUD
  

Revision as of 13:38, 15 August 2016


ROLES

following roles should be created on SSO and assigned to subaccounts

bus driver

Bus Drivers = RU
Bus Drivers Logs = CRU
Buses = RU
Bus Stops = R
Bus Stops Per Route = R
MOBICard statuses = R
Operators = R
Passengers = R
Routes = R
Special Incidents Passenger = C
Trips = CRU


controller

Bus Controller Checks = CR
Bus Drivers = R
Buses = R
Bus Stops = R
Bus Stops Per Route = R
MOBICard statuses = R
Operators = R
Passengers = RU
Pax Controller Checks = CRU
Suspensions = R
Ticket Controllers = R


retailer

Actual Top-Ups = C
Fare basis = R
GSM Networks = R
MOBICard statuses = R
Passengers = CRU
Ticket Retailers = R


MOBI staff

all tables full CRUD


OBLIGATORY ENTRIES IN TABLES

This app should work only on "English" at time of writing this. Since we do not have "localized enums" it's necessary to rely on english "fixed value" data to determine some logical states which are required by BL (Business Logic).

Following tables require following data:

fareBasis: fareBasis_name, fareBasis_comments
fareBasis: "Regular", any comment

MOBICardStatuses: MOBICardStatus_name, MOBICardStatus_validity
MOBICardStatuses: Active, true
MOBICardStatuses: Inactive, false
MOBICardStatuses: Suspended, false

busDrivers: busDriver_ssoUsername - has to contain at least one driver entry which has column filled with email address of subaccount which has assigned role of "driver"

controllers: controller_ssoUsername - has to contain at least one driver entry which has column filled with email address of subaccount which has assigned role of "controller"

retailers: retailer_ssoUsername - has to contain at least one driver entry which has column filled with email address of subaccount which has assigned role of "retailer"