Project

General

Profile

action #2282

Replace CanCan with CanCanCan

Added by ancorgs over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development
Target version:
Start date:
2014-04-09
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

CanCan development is stalled. It's throwing some warnings since the migration to Rails 4. Adopting CanCanCan seems like the easiest solution.

History

#1 Updated by ancorgs over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Some problems with the ExpenseReport model. When request_id is not included in the select clause, CanCanCan throws an exception. Still looking for a proper solution.

#2 Updated by ancorgs over 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 10 to 100

Fixed by using scopes to define the permissions.

Also available in: Atom PDF