From 81c3f6aaa636e6d7d2d8bde26ed61069e4bb2eff Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 8 Apr 2014 01:37:11 +0400 Subject: [PATCH] #373: rollback changes --- app/models/ability.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index 108af5fc9..8e9a5336d 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -18,7 +18,7 @@ class Ability can :read, Issue, project: { visibility: 'open' } can [:read, :commits, :files], PullRequest, to_project: {visibility: 'open'} can [:read, :log, :everything], BuildList, project: {visibility: 'open'} - can [:read, :log], ProductBuildList#, product: {platform: {visibility: 'open'}} # double nested hash don't work + can [:read, :log], ProductBuildList, product: {platform: {visibility: 'open'}} can [:read, :search], Advisory # Platforms block