Understanding Tontine Users
Your tontine has two types of people with access to Agatabo:- Members - People who save money and may take loans (the core participants)
- Staff - People who operate the system (treasurers, accountants, administrators) but don’t necessarily save or borrow
User vs Member
- User (General)
- Member (Specific)
Any person with login credentials to your tontine
- Has login credentials (email or phone number)
- Has one or more assigned roles
- Can log in and perform permitted actions
- May or may not be a member
- Email is optional; phone number is required
User Lifecycle
Common Operations
Inviting Users
Add new members or staff to your tontine
Managing Users
Edit info, deactivate accounts, update roles
Roles & Permissions
Understand roles and what each can do
Viewing User Details
Access user profiles and account history
Default Roles
Your tontine comes with two default roles:| Role | Purpose | Typical Permissions |
|---|---|---|
| Member | Saves and borrows | View own savings, view own loans |
| Administrator | Manages system | All permissions including user management |
Common pattern: In many tontines, the treasurer and accountant are also members (they save and borrow). In this case, they would have multiple roles assigned: “Member + Treasurer” or “Member + Accountant”. Other tontines hire staff who are NOT members - they just operate the system.
Organization User Information
Basic Information
- Name: Full name (single field)
- Account Number: Auto-generated unique identifier
- Email: Optional - used for login and notifications if provided
- Phone: Required - mobile number for SMS notifications
- Join Date: Date the user joined the organization
Financial Information (for Members)
- Savings Balance: Total deposits minus withdrawals
- Active Loans: Current outstanding loans
- Loan History: Past loans and repayment status
- Entry Fees: Joining fees and payments
- Dividend Allocations: Share of distributed profits
User Status
| Status | Meaning | Can Log In? | Can Access Organization? |
|---|---|---|---|
| Active | Account enabled | ✅ Yes (if password set) | ✅ Yes |
| Inactive | Account deactivated | ✅ Yes (if password set) | ❌ No (permissions denied) |
How it works:
- An inactive user can technically log in but won’t be able to access any organization features
- Permissions are only resolved for active users (
isActive = true) - To fully prevent access, deactivate the organization user
PENDING, ACCEPTED, REVOKEDPermissions System
Agatabo uses role-based access control (RBAC):Permission Format
Permissions use the format:resource:action
Examples:
organization_users:read- Can view organization usersorganization_users:write- Can create/edit organization userssavings:read- Can view savings datasavings:write- Can record depositsloans:read- Can view loansloans:write- Can create loans
Permission Scopes
Each permission can be scoped to control access level: SELF scope: User can only access their own data- A member with
savings:read(SELF scope) can only view their own savings
- A treasurer with
savings:write(ANY scope) can record deposits for any member
Member Management Best Practices
User management tips:
- Verify phone numbers before sending invitations (phone is required)
- Email is optional but recommended for login and notifications
- Assign minimum necessary permissions (principle of least privilege)
- Review user permissions quarterly
- Deactivate former staff immediately
- Use consistent naming conventions
- Note that Name, Phone, and Email cannot be easily changed after creation
Common Scenarios
Adding a New Organization User
Full workflow →
Adding a Role to an Existing User
Deactivating a User
Integration with Other Features
Savings
Members with savings have savings ledger accounts:- Tracks deposit balance
- Shows transaction history
- Appears on balance sheet as liability
Loans
Loans are created for members by loan officers:- Loan history tracked per member
- Guarantors can be other organization users with member role
- Loan securities can include savings balances
Dividends
Members can receive dividend allocations from dividend pools:- Distribution methods: equal or by contribution
- Administrators create dividend pools and distribute to members
Reports
Tontine users appear in the following reports:- Balance Sheet
- Profit & Loss
- Shares Report (members only)
- Loans Outstanding (members only)
Security and Privacy
Need Help?
Inviting Users
Step-by-step invitation guide
Managing Users
Edit, deactivate, update roles
Roles Explained
Understanding roles and permissions
Permissions Matrix
Full permission reference