Skip to main content

avo-authorization

Lock down an Avo admin with Pundit policies — control who sees each resource, button, action, association, and file field via `app/policies/*.rb` policy methods plus `config.authorization_client = :pundit`. Use when the user wants to restrict who can do what in the admin, whether they say it in Avo terms ("set up Pundit policies", "gate this with a policy", "use act_on?/reorder?/search? in the policy", "the resource disappeared from the sidebar after I added a policy method") or in plain Rails/product terms with no Avo vocabulary: "only admins can delete/edit users", "hide the Users resource from non-admins", "non-admin users should only see published posts", "restrict who can run actions", "don't let clients attach/detach records", "hide the delete button for some users", "let only some users upload files", "lock down the admin per role", "gate the reorder/search/actions buttons", "make the admin read-only for support staff", or "different permissions per role".

설치로 이동

소스 정보

저장소
avo-hq/skills
최근 소스 활동
2026년 7월 29일 09:06
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.