你知道吗 - declarative_authorization 是否可以控制对命名空间资源的访问?我试过类似的东西
has_permission_on [:admin, :users], :to => [:index, :show, :new, :create, :edit, :update, :destroy, :search]
但它不起作用:(对此有什么想法吗?
你知道吗 - declarative_authorization 是否可以控制对命名空间资源的访问?我试过类似的东西
has_permission_on [:admin, :users], :to => [:index, :show, :new, :create, :edit, :update, :destroy, :search]
但它不起作用:(对此有什么想法吗?