Show statistics for all users

This commit is contained in:
Vokhmin Alexey V 2014-10-15 22:23:57 +04:00
parent d474895c3c
commit d4f6552bf7
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class Ability
can [:read, :log, :everything], BuildList, 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'}} # double nested hash don't work
can [:read, :search], Advisory can [:read, :search], Advisory
can :read, Statistic
# Platforms block # Platforms block
can [:show, :members, :advisories], Platform, visibility: 'open' can [:show, :members, :advisories], Platform, visibility: 'open'