Project

General

Profile

Actions

action #2282

closed

Replace CanCan with CanCanCan

Added by ancorgs almost 10 years ago. Updated almost 10 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.

Actions #1

Updated by ancorgs almost 10 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.

Actions #2

Updated by ancorgs almost 10 years ago

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

Fixed by using scopes to define the permissions.

Actions

Also available in: Atom PDF