From cf74946c47fe25dfe72152d9b78b96759a9d37d9 Mon Sep 17 00:00:00 2001 From: Rob Spieldenner Date: Tue, 16 Jul 2013 15:16:04 -0600 Subject: [PATCH] add roles and verbs for Team-DMBR --- teams/team-DMBR/names.txt | 43 ++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/teams/team-DMBR/names.txt b/teams/team-DMBR/names.txt index 68950ac..ad5fdfd 100644 --- a/teams/team-DMBR/names.txt +++ b/teams/team-DMBR/names.txt @@ -1,52 +1,63 @@ Package Delivery Service +--- Roles --- +Customer +Manager +Employee +Admin +Internal = (Manager, Employee, Admin) + + Distribution Center - Facility Description, Docks, belts ======================================================== -dmbrshipping/distributioncenter -dmbrshipping/distributioncenter//? -dmbrshipping/distributioncdnter//zipcodes -dmbrshipping/distributioncenter/country/ -dmbrshipping/distriburioncenter/region/ +Customer - GET/Manager - GET/Employee - GET/Admin- GET,PUT,POST: dmbrshipping/distributioncenter +Customer - GET/Manager - GET/Employee - GET/Admin - GET,PUT,POST,DELETE: dmbrshipping/distributioncenter// +no Customer: dmbrshipping/distributioncenter// +Everybody - GET: dmbrshipping/distributioncenter//zipcodes +Everybody - GET: dmbrshipping/distributioncenter/country/ +Everybody - GET: dmbrshipping/distriburioncenter/region/ Routes ===== -dmbrshipping/routes -dmbrshipping/routes/?source/?sink -- service +Manager/Employee/Admin: dmbrshipping/routes +dmbrshipping/routes;source='';sink='' -- service Tracking - exceptions, lost, destroyed/damaged, history ======================================================= -dmbrshipping/track/ +System - POST: dmbrshipping/track +Everybody - GET: dmbrshipping/track/ Contracted Package Delivery Services ==================================== -dmbrshipping/contractor +Manager - GET/Admin - GET,PUT,POST: dmbrshipping/contractor +Manager - GET/Admin - GET,PUT,POST,DELETE: dmbrshipping/contractor/ Customers - Shipper, Receiver ============================= -dmbrshipping/customer -dmbrshipping/customer/ -dmbrshipping/customer/track/ +Customer - POST/Internal - GET,POST: dmbrshipping/customer +Customer - GET,PUT,PATCH,DELETE if self/Internal - GET,PUT,PATCH,DELETE: dmbrshipping/customer/ +Everybody - GET/: dmbrshipping/customer//track/ Package Types ============= -dmbrshipping/package/ +Everybody - GET/Admin - POST: dmbrshipping/package/ dmbrshipping/package/ Service Types ============= -dmbrshipping/service +Everybody: dmbrshipping/service dmbrshipping/service/ Trucks/Planes/Ships/Trains ========================== -dmbrshipping/fleet +Employee/Manager/Admin: dmbrshipping/fleet dmbrshipping/fleet/ dmbrshipping/fleet//maintenance dmbrshipping/fleet/type Employees - Drivers/Support Center/Dist Center Workers ====================================================== -dmbrshipping/employee +Employee/Manager/Admin: dmbrshipping/employee dmbrshipping/employee/ dmbrshipping/employee/type