diff --git a/OUTLINE.md b/OUTLINE.md deleted file mode 100644 index 6a50924..0000000 --- a/OUTLINE.md +++ /dev/null @@ -1,75 +0,0 @@ -- Super Admin User -- Business (Tenant) - - Name - - Address - - Phone - - Owner Name - - Admin User - - Employees - - Name - - Employee ID No - - Phone - - Address - - Role - - Permissions - - Date Hired - - Hired by - - Date Exited - - Exit Reason - - Active - - Image - - Active - - Business Type - - Fleet - - Vehicle Type - - Year - - Make - - Model - - License Plate - - VIN - - Color - - Style - - Unit Number - - Image(s) - - Assigned Driver - - Employee ID No - - Date Driving - - Starting Miles - - Ending Miles - - Maintenance Needed (yes/no) - - Type of Maintenance - - Mileage - - Maintenance Performed (yes/no) - - Date Performed - - Completed (yes/no) - - Date Completed - - Maintenance Comments - - Comment by - - Date of Comment - - RFS (Request for Service) - - Service Type (e.g. Ride share, delivery, pick-up, messenger, etc) - - Requested by - - Customer Info - - Name - - Address - - Phone - - Customer ID No - - Business Name - - Image of contact person(s) - - Date Requested - - Date / Time for Service - - Date / Time of Completion - - Service Started (yes/no) - - Service Cost - - Starting Mileage - - Ending Mileage - - Mileage Required - - Service Status (based on workflow stages e.g. assigned, en-route, in progress, arrived, delivered, picked up, awaiting vendor, confirmed, pending, etc) - -At service request, generate a QR Code which provides a confirmation for servicer to verify upon pickup, acceptance, delivery, etc. - -Setup Workflows for different service types. - -Setup Dispatch and self-dispatch - - diff --git a/README.md b/README.md index f395431..a18bde4 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ -# Readme +# This is a template to get started. + +The template includes +- Registration +- Login / Authentication with username / password +- First person to register is the System Admin role and has full control over the installation. +- Initial roles are + - systemadmin + - tenantadmin (admin over a single tenant) + - user (non administrative role) + +There are a few things built in already, like placeholders for the Site Name, App Name, etc, but the rest is a blank slate. diff --git a/server/main.js b/server/main.js index 605659b..8b1b36f 100644 --- a/server/main.js +++ b/server/main.js @@ -10,7 +10,6 @@ Meteor.startup(async () => { await Roles.createRoleAsync("user", { unlessExists: true }); await Roles.createRoleAsync("systemadmin", { unlessExists: true }); await Roles.createRoleAsync("tenantadmin", { unlessExists: true }); - await Roles.createRoleAsync("shareadmin", { unlessExists: true }); // set the systemconfig defaults for registration // check if this has already been run