You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using authorizations, a user without "create" permissions is still presented with the "Create One" link on the blank slate page.
Can the render_blank_slate method have this condition instead? controller.action_methods.include?('new') && authorized?(ActiveAdmin::Auth::CREATE, active_admin_config.resource_class)
The text was updated successfully, but these errors were encountered:
While using authorizations, a user without "create" permissions is still presented with the "Create One" link on the blank slate page.
Can the
render_blank_slate
method have this condition instead?controller.action_methods.include?('new') && authorized?(ActiveAdmin::Auth::CREATE, active_admin_config.resource_class)
The text was updated successfully, but these errors were encountered: