Multi-User Support with Roles and Permissions

Description:

I would like to request full multi-user support so that multiple people can work in the same company at the same time.

Right now, the system is best suited to a single primary user. However, most real businesses have more than one person involved in financial and operational tasks. Allowing multiple users would make the platform far more practical for teams and growing businesses.


Proposed Functionality:
1. Multiple Users per Company

  • A company account can have several users linked to it.

  • Each user logs in with their own credentials (email/password).


2. Admin Role

  • One or more users can be designated as Admin.

  • Invite or remove users

  • Assign or change permissions

  • View user activity (optional but useful)


3. Role-Based Permissions

Different permission levels should be available, for example:

  • View only (reports, dashboard)

  • Create/edit sales and customers

  • Manage expenses and suppliers

  • Inventory management

  • Financial reports access

  • Settings access

  • Full admin access


4. Real-Time Sync

  • Changes made by one user (sales, inventory updates, edits, etc.) should sync so other users see updated data without conflicts.

  • Basic conflict handling (e.g., warning if two users edit the same record) would help maintain data integrity.


5. Audit Trail

  • Each record (sale, expense, edit, deletion) should store which user performed the action.

  • This improves accountability and is useful for accounting and troubleshooting.