Am Donnerstag, 2. Februar 2012 schrieb zeroelink:
> User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id"
> = 6 LIMIT 1
> Permission denied: No matching rules found for index for #<User id: 6,
> username: "djavia"> (roles
> [:owner], privileges [:index], context :vehicles).
> Rendered public/403.html.erb within layouts/application (0.0ms)
> Completed 403 Forbidden in 442ms (Views: 57.2ms | ActiveRecord: 0.9ms)
>
> I'm not sure why I am getting this since the user does have the
> necessary role on that action
Well, the error says that the user does have the role :owner, but not the
required permission (:index). Maybe the privilege hierarchy is missing that
maps :index to :read?
Steffen