How to get cancancan list of abilites for current_user?

308 views Asked by At

How can I get all the abilities for current_user with cancancan in a Rails application ? I've seen this topic https://github.com/CanCanCommunity/cancancan/pull/221, but who knows would be merger or not.

1

There are 1 answers

0
dsounded On

It's merged for now, so we can use permission[:can] or permission[:can_not]