issue with ancestry attribute (ancestry plugin) #810

Closed
fmh opened this Issue Jan 27, 2013 · 1 comment

Projects

None yet

2 participants

@fmh

hello,

i have an issue with ancestry attribute

if user.profile == "manager_group"

can [:read , :my_users] , Client , :user => {:ancestry => user.id} #this work
can :update , Client , :user => {:ancetry => user.id} # not work
can :update , Client , :user => {:parent_id => user.id} # this work

end

cancan v=1.6.8

can someone help me ?

@xhoy

Thanks for your submission! The ryanb/cancan repository has been inactive since Sep 06, 2013.
Since only Ryan himself has commit permissions, the CanCan project is on a standstill.

CanCan has many open issues, including missing support for Rails 4. To keep CanCan alive, an active fork exists at cancancommunity/cancancan. The new gem is cancancan. More info is available at #994.

If your pull request or issue is still applicable, it would be really appreciated if you resubmit it to CanCanCan.

We hope to see you on the other side!

@fmh fmh closed this Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment