-
In my code, if have 2 kinds of users, expert and client. If I initialize client, the resources allowed for expert are not accessible, and if I do not initialize client, then the resources for expert a…
-
It is unclear to me how I would use CanCan to authorize access to Upmin. I tried a few things but was unable to figure it out. It would be nice if there were an example of doing this. Thanks.
-
In order to get the ssh permissions and the permissions for the website in one place we want to use pundit.
This is also a preparation for Rails 4.
-
### Steps to reproduce
> I tried to use the gist from [here](https://gist.github.com/coorasse/3f00f536563249125a37e15a1652648c) to reproduce the issue, but it throws an error `CanCan::NotImplemented:…
-
As mentioned in #829, restrict the access to the `conferences#new` (and related `create` etc.) actions to those users who have the ability to do this. Use `cancancan` to ensure this on the controller …
-
I am getting this deprecation warning when using Rails 4.0.3, Rspec 3.0.0.beta2 and cancan 1.6.10.
```
`failure_message_for_should_not` is deprecated. Use `failure_message_when_negated`
instead. Call…
-
... along with several other methods, in particular `apply_finder_options`, which could be used to emulate it.
It seems a complete rewrite of the ActiveRecord adapter is in order.
-
lib/cancan/model_additions.rb references ActiveSupport::Concern, which is unavailable prior to Rails 3. Upon booting a Rails 2.3 install using CanCan 2.0, I get 'uninitialized constant ActiveSupport::…
-
Hello!
Firstly thanks for all the work on cancan. This is an awesome project and I'm having a great time using it.
This is more a suggestion than an issue. I'd like to gather your input if this is t…
dieb updated
10 years ago
-
I am using cancan 1.6.8 in my application
**ApplicationController.rb**
```
rescue_from ActiveRecord::RecordNotFound, :with => :throw_404
def throw_404
redirect_to root_path, :flash => {:error => …