Agent skill · Security

odoo-security-rules

Expert in Odoo access control: ir.model.access.csv, record rules (ir.rule), groups, and multi-company security patterns.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
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.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/odoo-security-rules/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. How It Works
  4. Examples
  5. Example 1: ir.model.access.csv
  6. Example 2: Record Rule — Users See Only Their Own Records
  7. Example 3: Multi-Company Record Rule
  8. Best Practices
  9. Limitations
More from agentic-awesome-skills
All skills →
About this skill
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.

Keep going