intermediate
settings
permissions
roles

Permissions & Roles

Understand the role-based access control system - assign appropriate permissions to team members based on their responsibilities

Levy Fleets Team25 de diciembre de 20258 min read

Permissions & Roles

Levy Fleets uses role-based access control (RBAC) to manage what team members can do within the dashboard. Each role has a predefined set of permissions appropriate for different job functions.

Overview

The permission system ensures:

  • Security - Users only access what they need
  • Accountability - Actions are tracked by user
  • Flexibility - Roles match job responsibilities
  • Scalability - Easy to onboard new team members

Role Hierarchy

Roles are organized from most to least privileged:

Super Admin / Global Admin (Levy Staff)
         ↓
       Admin
         ↓
    Fleet Manager
         ↓
   Customer Support
         ↓
      Analyst
         ↓
   Service Technician

Available Roles

Admin

Full access including team management

Admins have complete control over their subaccount, including the ability to invite and manage other team members.

CategoryPermissions
TeamInvite, remove, update roles
VehiclesCreate, update, delete, status
ZonesCreate, update, delete
PricingConfigure and view
CustomersView, update, charge, block
RidesView, update, refund
AnalyticsFull access
SettingsView and update
IoTView and manage

Best for: Business owners, operations directors, account managers

Fleet Manager

Full operational access without team management

Fleet Managers can perform all day-to-day operations but cannot invite or remove team members.

CategoryPermissions
TeamNone
VehiclesCreate, update, delete, status
ZonesCreate, update, delete
PricingConfigure and view
CustomersView, update, charge, block
RidesView, update, refund
AnalyticsFull access
SettingsView and update
IoTView and manage

Best for: Operations managers, fleet supervisors, shift leads

Customer Support

Handle customer issues without pricing or zone access

Customer Support can help customers and manage rides but cannot modify pricing or zones.

CategoryPermissions
TeamNone
VehiclesStatus only
ZonesNone
PricingView only
CustomersView, update, charge, block
RidesView, update, refund
AnalyticsView
SettingsView only
IoTView only

Best for: Customer service representatives, support agents

Analyst

View-only access to reports and data

Analysts can view all data but cannot make changes that affect operations or finances.

CategoryPermissions
TeamNone
VehiclesNone
ZonesNone
PricingView only
CustomersView only
RidesView only
AnalyticsView
SettingsView only
IoTView only

Best for: Business analysts, reporting staff, financial reviewers

Service Technician

Vehicle control, IoT commands, and view rides/zones

Service Technicians focus on vehicle maintenance, battery swaps, and repositioning. They can view rides and zones to locate vehicles and understand usage patterns.

CategoryPermissions
TeamNone
VehiclesStatus only (lock, unlock, battery compartment)
ZonesView only
PricingNone
CustomersNone
RidesView only
AnalyticsNone
SettingsView only
IoTView and manage

Best for: Maintenance staff, field technicians, battery swap crews, repositioning teams

Permission Categories

Team Management

Control who can manage team members:

PermissionDescription
team:inviteSend invitations to new team members
team:removeRemove team members from account
team:update_roleChange a team member's role

Admin Only

Only users with the Admin role can manage team members. This prevents privilege escalation.

Vehicle Management

Control vehicle operations:

PermissionDescription
vehicle:createAdd new vehicles to the fleet
vehicle:updateEdit vehicle information
vehicle:deleteRemove vehicles from the fleet
vehicle:update_statusChange vehicle status (available, maintenance, etc.)

Zone Management

Control service area configuration:

PermissionDescription
zone:createCreate new zones
zone:updateEdit zone boundaries and settings
zone:deleteRemove zones

Pricing Management

Control pricing configuration:

PermissionDescription
pricing:configureChange pricing rates and rules
pricing:viewView pricing configuration

Customer Management

Control customer operations:

PermissionDescription
customer:viewView customer profiles and history
customer:updateEdit customer information
customer:chargeCharge customer wallets
customer:bonusAdd bonus credits to wallets
customer:blockBlock customers from service
customer:unblockUnblock previously blocked customers

Ride Management

Control ride operations:

PermissionDescription
ride:viewView ride details and history
ride:updateEdit ride information
ride:refundProcess ride refunds

IoT Management

Control IoT device operations:

PermissionDescription
iot:viewView IoT device information
iot:manageConfigure and command IoT devices

Settings Management

Control account settings:

PermissionDescription
settings:viewView account settings
settings:updateModify account settings

Permission Matrix

Quick Reference

PermissionAdminFleet ManagerCustomer SupportAnalystService Tech
Team Management
Vehicle CRUD
Vehicle Status
Zone Management
Zone View
Pricing Configure
Pricing View
Customer Actions
Customer View
Ride Refund
Ride View
Analytics
Settings Update
IoT Manage

Assigning Roles

When Inviting Team Members

1

Navigate to Team

Go to Dashboard → Settings → Team.

2

Click Invite

Click the Invite Team Member button.

3

Enter Email

Enter the new member's email address.

4

Select Role

Choose the appropriate role from the dropdown.

5

Send Invitation

Click Send Invite to send the invitation email.

Changing Existing Roles

1

Navigate to Team

Go to Dashboard → Settings → Team.

2

Find Team Member

Locate the team member in the list.

3

Click Edit

Click the edit or role dropdown.

4

Select New Role

Choose the new role.

5

Confirm Change

Save the changes.

Role Changes Take Effect Immediately

When you change a team member's role, their permissions update immediately. They may need to refresh their browser to see the changes reflected in the UI.

Best Practices

Principle of Least Privilege

Assign the minimum permissions needed for each role:

  1. Start restrictive - Begin with fewer permissions
  2. Upgrade as needed - Add access when justified
  3. Review regularly - Audit roles periodically
  4. Remove promptly - Revoke access when no longer needed

Role Selection Guide

If they need to...Assign Role
Manage the team and all operationsAdmin
Run daily operations without team managementFleet Manager
Help customers and process refundsCustomer Support
View reports and analyze dataAnalyst
Swap batteries, reposition vehicles, manage IoTService Technician

Security Considerations

  1. Limit Admin accounts - Only key personnel should have Admin access
  2. Separate duties - Don't give everyone the same role
  3. Audit access - Review who has access periodically
  4. Remove inactive users - Promptly remove departed employees

Troubleshooting

Permission Denied Errors

If a user sees "Insufficient permissions":

  1. Check their current role in Team settings
  2. Verify the required permission for the action
  3. Upgrade their role if appropriate
  4. Have them refresh their browser

Can't Invite Team Members

Only Admin role can invite others:

  1. Verify you have Admin role
  2. Check you're on the correct subaccount
  3. Ensure the email is valid and unique

Role Not Updating

If role changes aren't applying:

  1. Have the user log out and back in
  2. Clear browser cache
  3. Check for any error messages
  4. Verify the change was saved

API Permission Checks

For developers integrating via API, permissions are enforced on all endpoints:

// Example error response
{
  "error": "Insufficient permissions. Required: pricing:configure",
  "status": 403
}

The Partner API uses separate API key permissions, not dashboard roles.

Secure Access Control

A well-configured permission system protects your business data while enabling your team to work efficiently. Review your team roles regularly to ensure everyone has appropriate access.