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".

Aller à l'installation

Informations de source

Dépôt
avo-hq/skills
Dernière activité de la source
29 juillet 2026 à 09:06
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.