reworked execution_environment statistics

This commit is contained in:
Ralf Teusner
2016-01-07 13:19:02 +01:00
parent 76e91ec2cf
commit 943e3c6c3a
3 changed files with 37 additions and 3 deletions

View File

@ -1,5 +1,5 @@
class ExternalUserPolicy < AdminOnlyPolicy
def statistics?
admin?
admin? || author? || team_member?
end
end