Show statistics for all users
This commit is contained in:
parent
d474895c3c
commit
d4f6552bf7
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue