StackOverflow Questions for Tag: cancancan

cancancan authorize_resource not working as expected

Score: 7

Views: 4130

Answers: 4

Read More
Sannan Yousuf
Sannan Yousuf

Reputation: 89

Overriding load_and_authorize_resource of super class

Score: 0

Views: 48

Answers: 1

Read More
David
David

Reputation: 3610

CanCan check_authorization not throwing AccessDenied Exception for Non RESTful Controller

Score: 1

Views: 1431

Answers: 2

Read More
Gbeschbacher
Gbeschbacher

Reputation: 456

Cancancan with custom where_condition syntax on specific tables/columns

Score: 2

Views: 88

Answers: 0

Read More
Kiran Kumawat
Kiran Kumawat

Reputation: 92

rails cancancan upgrade 3.0.2 -> 3.5.0 issue

Score: 0

Views: 64

Answers: 0

Read More
Marcin Kozdraś
Marcin Kozdraś

Reputation: 1

Rails CanCanCan incorrect behaviour

Score: 0

Views: 25

Answers: 0

Read More
chmich
chmich

Reputation: 1176

Rails, Rspec, Devise: View Specs with routes within authenticated block

Score: 0

Views: 99

Answers: 1

Read More
Sirius
Sirius

Reputation: 77

Cancancan - define :create with association

Score: 1

Views: 232

Answers: 2

Read More
Irina
Irina

Reputation: 75

Is there a better way to access CanCanCan's methods such as can? in a model?

Score: 0

Views: 49

Answers: 1

Read More
Mahade Abir
Mahade Abir

Reputation: 1

add the check_authorization callback of CanCanCan to the Grape API

Score: 0

Views: 80

Answers: 0

Read More
Alfredo
Alfredo

Reputation: 136

Rails Cancancan Ajax custom action not working

Score: 0

Views: 36

Answers: 1

Read More
0lli.rocks
0lli.rocks

Reputation: 1072

cancancan: authorize_resource gets called to early

Score: 0

Views: 40

Answers: 1

Read More
chmich
chmich

Reputation: 1176

prohibit :update in cancan conflicting with :edit

Score: 0

Views: 79

Answers: 1

Read More
zhisme
zhisme

Reputation: 2800

cancancan get all dynamic permissions

Score: 0

Views: 282

Answers: 1

Read More
Andy Harvey
Andy Harvey

Reputation: 12663

How to authorize namespace, model-less controllers using CanCanCan?

Score: 2

Views: 2810

Answers: 3

Read More
Eric Mathison
Eric Mathison

Reputation: 1256

How can I use CanCanCan's `can?` method inside a view component?

Score: 1

Views: 402

Answers: 2

Read More
Muhammad Aamir Khan
Muhammad Aamir Khan

Reputation: 45

cancancan automatically call my permitted params method

Score: 1

Views: 72

Answers: 1

Read More
Mahmoud M. Abdel-Fattah
Mahmoud M. Abdel-Fattah

Reputation: 1527

How to check cancan permission on ActiveAdmin custom page?

Score: 6

Views: 1452

Answers: 4

Read More
AliOsm
AliOsm

Reputation: 551

CanCanCan, Pagy, and MeiliSearch, How to combine the 3 gems?

Score: 1

Views: 287

Answers: 2

Read More
stevec
stevec

Reputation: 52758

How does cancancan set the model instance, and how can I inspect it?

Score: 2

Views: 1507

Answers: 2

Read More
PreviousPage 1Next