class RailsAiAdmin::Authorization::FullAccessAdapter

Opt-in preset for trusted staff: everyone the context adapter admits may use everything the registered resources declare. The resource files are then the complete list of what the admin exposes: an undeclared column, a hidden field, a readonly resource and a disabled action stay closed.

It applies no tenant condition and no roles. Subclass it to narrow one decision and keep the rest:

class AdminPolicyAdapter < RailsAiAdmin::Authorization::FullAccessAdapter
  def scope(context:, resource:, relation:)
    relation.where(account_id: context.tenant.id)
  end
end

The admin assistant stays closed here. Opening it sends record values to a model provider, which is a separate decision from trusting a person.