Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

authorization-model

النجوم٤
التفرعات٠
آخر تحديث٢٩ يونيو ٢٠٢٦ في ٢٠:١٤

Neon Law Navigator's role + participation authorization model — the **canonical answer** to "who can see what." Every person carries exactly one role in `persons.role` (`client`, `staff`, or `admin`); per-project scope lives separately in `person_project_roles.participation`. Admin bypasses project-scoping silently. Trigger when the user mentions any of `role`, `roles`, `staff`, `client`, `admin`, `participation`, OPA, "who can see", "what does Libra/Nick see", or before adding a new authz check anywhere in `web`. Also trigger when reaching for a JSON-array `roles[…]` shape — the schema collapsed to a single `role` column in migration `m20260619_collapse_persons_roles_to_role`, and the doc/PR drift to fix is to use the singular column.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly