odoo-security-rules
Expert in Odoo access control: ir.model.access.csv, record rules (ir.rule), groups, and multi-company security patterns.
npx skills add sickn33/agentic-awesome-skills --skill odoo-security-rules --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Odoo Security Rules ## Overview Security in Odoo is managed at two levels: **model-level access** (who can read/write which models) and **record-level rules** (which records a user can see). This skill helps you write correct `ir.model.access.csv` entries and `ir.rule` domain-based record rules. ## When to Use This Skill - Setting up access rights for a new custom module. - Restricting records so users only see their own data or their company's data. - Debugging "Access Denied" or "You are not allowed to access" errors. - Implementing multi-company record visibility rules. ## How It Works 1. **Activate**: Mention `@odoo-security-rules` and describe the access scenario. 2. **Generate**: Get correct CSV access lines and XML record rules. 3. **Debug**: Paste an access error and get a diagnosis with the fix. ## Examples ### Example 1: ir.model.access.csv ```csv id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_hospital_patient_user,hospital.patient.user,model_hospital_patient,base.group_user,1,0,0,0 access_hospital_patient_manager,hospital.patient.manager,model_hospital_patient,base.group_erp_manager,1,1,1,1 ``` > **Note:** Use `base.group_erp_manage
- Overview
- When to Use This Skill
- How It Works
- Examples
- Example 1: ir.model.access.csv
- Example 2: Record Rule — Users See Only Their Own Records
- Example 3: Multi-Company Record Rule
- Best Practices
- Limitations
What does the odoo-security-rules skill do?
Expert in Odoo access control: ir.model.access.csv, record rules (ir.rule), groups, and multi-company security patterns.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill odoo-security-rules --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.