[refs #385] removed dublicate ability

This commit is contained in:
Alexander Machehin 2012-04-17 16:21:45 +06:00
parent 2716c19635
commit 05ec6cbac3
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ class Ability
can :destroy, Group, :owner_id => user.id
can :create, Project
can :read, Project, :visibility => 'open'
can [:read, :archive], Project, :owner_type => 'User', :owner_id => user.id
can [:read, :archive], Project, :owner_type => 'Group', :owner_id => user.group_ids
can([:read, :membered], Project, read_relations_for('projects')) {|project| local_reader? project}