declarative-authorization

current_user method is not accessible

hi.. i am using declarative_authorization... when i try to access current_user, it gives me the error undefined local variable or method `current_user'... can anyone help me out..? thnx... ...

How to make custom authorization rools in RoR3

There are a few very good authorization gems, like cancan and declarative_authorization. But here's a problem: authorization rules are seperated in class, but i need to place them in table or maybe some yaml config file to change them in admin panel eventually. Perfectly, if i can either change permissons for user groups and for individu...