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
آخر نشاط في المصدر
٢٩ يوليو ٢٠٢٦ في ٠٩:٠٦
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.