User Roles
Farm Worker
Daily work and routine record entry
✓ Permissions
- • View basic pig and batch records
- • Record feeding and weight updates
- • View and complete assigned tasks
- • Create routine operational records where allowed
✗ Restrictions
- • Cannot change system settings
- • Cannot manage user access
- • Cannot access financial configuration
Farm Supervisor
Operational oversight and approvals
✓ Permissions
- • All Farm Worker permissions, plus:
- • Create and modify operational records
- • Manage breeding and health actions
- • Assign and reschedule tasks
- • Work with feed and supply records
- • View management reports
✗ Restrictions
- • Cannot manage user access
- • Cannot change core farm configuration
Veterinarian
Health records and treatment work
✓ Permissions
- • View the pigs and batches they need for treatment work
- • Create and modify health records
- • Use procedure templates and schedules
- • Access health reports and reminders
- • Create health-related tasks
✗ Restrictions
- • Cannot manage user access
- • Cannot change system configuration
- • Cannot edit finance settings unless separately allowed
Farm Manager
Full system access and administrative control
✓ Full Access
- • All PiggyPro features and menus
- • User management and role assignment
- • System configuration and settings
- • Full access to reports and analytics
- • Data import/export where enabled
- • Archive, restore, and delete records
✨ Automatic Assignment
The user who installs PiggyPro typically receives the highest access so the module can be configured.
Managing Users
Creating User Accounts
- Go to Settings → Users & Companies → Users
- Click Create
- Enter user information:
- Name
- Email address (used for login)
- Phone number
- Set access rights:
- Select user type (Internal User for farm staff)
- Choose PiggyPro role from the dropdown
- Set password or send invitation email
- Save the user account
Assigning Roles
To assign or change a user's PiggyPro role:
- Open the user record
- Go to the Access Rights tab
- In the PiggyPro section, select the appropriate role:
- Farm Worker
- Farm Supervisor
- Veterinarian
- Farm Manager
- Save the changes
- 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:
- Open the user record
- Uncheck the Active checkbox
- Save the record
- 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