Skip to content

Organizations & Companies

Majestic Transport is designed with a hierarchical structure of organizations and companies, providing a flexible model for multi-tenant and partner-based operations.

Organizations

An Organization represents the primary entity in the system, such as a transport provider or a major business unit.

Role of Organizations

  • Administrative Control: Managing user accounts, permissions, and organizational settings.
  • Data Isolation: Ensuring that one organization cannot access another's data without explicit permission.
  • Branding & Customization: Each organization can have its own branding, themes, and configuration.

Companies

A Company represents a specific business entity within or associated with an organization, such as a partner, subcontractor, or a client company.

Role of Companies

  • Relationship Management: Categorizing and managing different partners or clients.
  • Resource Allocation: Assigning specific cars, drivers, and trips to specific companies.
  • Reporting & Billing: Tracking activities and generating reports for individual companies.

Multi-Tenancy & Permissions

The system's architecture supports Multi-Tenancy, allowing multiple organizations to share the same platform while maintaining strict data separation.

Role-Based Access Control (RBAC)

  • User Roles: Users are assigned specific roles (e.g., Admin, Dispatcher, Driver) that determine their permissions.
  • Contextual Access: Permissions can be scoped to the entire organization, a specific company, or a particular set of resources.
  • Secure Data Access: The API enforces these rules to ensure that users can only view and modify data within their authorized scope.

Benefits of the Hierarchical Structure

  • Scalability: Easily add new organizations and companies as the business grows.
  • Flexibility: Adapt to different business models and partnership arrangements.
  • Security: Robust data isolation and permission management for multi-tenant environments.