[#446] remove old ability
This commit is contained in:
parent
c3ea0cd259
commit
650cc8d34d
|
@ -74,7 +74,6 @@ class Ability
|
||||||
end
|
end
|
||||||
|
|
||||||
can(:fork, Project) {|project| can? :read, project}
|
can(:fork, Project) {|project| can? :read, project}
|
||||||
can(:fork, Project) {|project| project.owner_type == 'Group' and can? :update, project.owner}
|
|
||||||
can(:alias, Project) {|project| local_admin?(project) }
|
can(:alias, Project) {|project| local_admin?(project) }
|
||||||
|
|
||||||
can(:destroy, Project) {|project| owner? project}
|
can(:destroy, Project) {|project| owner? project}
|
||||||
|
|
Loading…
Reference in New Issue