User Roles & Security

Manage user access, configure permissions, and maintain security for your farm management system.

User Roles

Farm Worker

Basic access for daily operational tasks

✓ Permissions

  • • View pig records and basic information
  • • Record feeding activities
  • • Update weight measurements
  • • View and complete assigned tasks
  • • View feed inventory levels

✗ Restrictions

  • • Cannot create or delete pig records
  • • Cannot modify health records
  • • Cannot access financial information
  • • Cannot change system settings

Farm Supervisor

Operational management with extended permissions

✓ Permissions

  • • All Farm Worker permissions, plus:
  • • Create and modify pig records
  • • Manage breeding records
  • • Create and assign tasks to workers
  • • Record health events (non-medical)
  • • Manage feed inventory
  • • View basic reports

✗ Restrictions

  • • Cannot access full financial reports
  • • Cannot modify system configuration
  • • Cannot manage user accounts

Veterinarian

Specialized access for health management

✓ Permissions

  • • View all pig records
  • • Full access to health records
  • • Create and modify medical treatments
  • • Manage vaccination schedules
  • • Access health analytics and reports
  • • Manage medicine inventory
  • • Create health-related tasks

✗ Restrictions

  • • Cannot modify breeding records
  • • Cannot access financial information
  • • Cannot manage users or system settings

Farm Manager

Full system access and administrative control

✓ Full Access

  • • All features and modules
  • • User management and role assignment
  • • System configuration and settings
  • • Complete financial access
  • • All reports and analytics
  • • Data import/export
  • • Archive and delete records

✨ Automatic Assignment

The user who installs PiggyPro automatically receives Farm Manager permissions.

Managing Users

Creating User Accounts

  1. Go to Settings → Users & Companies → Users
  2. Click Create
  3. Enter user information:
    • Name
    • Email address (used for login)
    • Phone number
  4. Set access rights:
    • Select user type (Internal User for farm staff)
    • Choose PiggyPro role from the dropdown
  5. Set password or send invitation email
  6. Save the user account

Assigning Roles

To assign or change a user's PiggyPro role:

  1. Open the user record
  2. Go to the Access Rights tab
  3. In the PiggyPro section, select the appropriate role:
    • Farm Worker
    • Farm Supervisor
    • Veterinarian
    • Farm Manager
  4. Save the changes
  5. User's permissions update immediately

⚠️ Important

Users can only have one PiggyPro role at a time. Assigning a new role replaces the previous one.

Deactivating Users

When a team member leaves:

  1. Open the user record
  2. Uncheck the Active checkbox
  3. Save the record
  4. User can no longer log in, but their data remains in the system

Deactivated users don't count toward your user limit and can be reactivated if needed.

Security Features

Data Security

Record-Level Security

Users can only access records they have permission to view based on their role.

Field-Level Access

Sensitive fields (like financial data) are hidden from users without appropriate permissions.

Audit Trail

All changes to records are logged with user, timestamp, and modification details.

Multi-Company Support

Manage multiple farms with separate data isolation if needed.

Password Security

  • Enforce strong password requirements
  • Password reset via email
  • Session timeout for inactive users
  • Two-factor authentication (2FA) support

Data Backup

Protect your farm data with regular backups:

  • Automatic daily database backups
  • Manual backup on demand
  • Export data to CSV/Excel for external storage
  • Restore from backup when needed

Best Practices

  • Assign the minimum necessary permissions for each user role
  • Regularly review user accounts and deactivate unused ones
  • Use strong, unique passwords for all accounts
  • Enable two-factor authentication for Farm Manager accounts
  • Train users on their specific permissions and responsibilities
  • Monitor audit logs for unusual activity
  • Keep Odoo and PiggyPro updated with latest security patches
  • Perform regular backups and test restoration procedures
  • Limit Farm Manager role to trusted personnel only