Code samples generally use atoms for the role value:
policy action(:destroy) do
authorize_if actor_attribute_equals(:role, :admin)
end
This example switches to a string on the same page.
policy action(:force_update) do
authorize_if actor_attribute_equals(:role, "admin")
end
Unsure if it technically matters, but could be confusing to the reader.