-
Several of our other issues reference the idea of Amanda the website Administrator, but we do not have any way of specifying that a given user is an admin.
I'm thinking maybe we can just add an 'admi…
-
-
### Steps to reproduce
I'm running into **PG::UndefinedTable: ERROR: missing FROM-clause entry for table** error when trying to check abilities for a polymorphic relationship. Things work fine when …
-
Hola! Les dejo las gemas permitidas a lo largo del proyecto. Cualquier duda de gema pregúntenla en un comentario de esta issue. Iré actualizando la lista a medida que se agreguen nuevas gemas.
Para…
-
### Steps to reproduce
```
it { expect(ability).not_to be_able_to(%i[update destroy], Article) }
```
If "update" is forbidden but destroy is not, the line above will still pass.
### Expected…
-
Hola!
Aca les dejo una lista con gemas permitidas para el desarrollo de su proyecto 😁, si quieren usar una que no esté, hagan un comentario indicando su nombre y la razón de por qué quieren usarla. …
-
Hola!
Aca les dejo una lista con gemas permitidas para el desarrollo de su proyecto 😁, si quieren usar una que no esté, hagan un comentario indicando su nombre y la razón de por qué quieren usarla. …
-
```
class A < ActiveRecord::Base; end
class B < A; end
class C < A;end
can :read, B, :status => :active
can :read, C, :user_id => @user.id
A.accessible_by(current_ability)
```
I basically want all …
-
Hello,
Recently building some tests for my CanCan development, I noticed something. On a role that has no access to a specific resource, the GET, PUT and DELETE actions result in a database search _b…
-
Ideally I do not want the user to :list a particular resource but just be able to :read it.
I had the abilities defined this way:
```
cannot :list, Person
can :read, Person do |p|
Ti…