Skip to content

Commit

Permalink
Semesterstatistiken-Feature für alle Early-Access-User freischalten.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiedl committed Oct 18, 2018
1 parent 4f1d65c commit 3e85d77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/ability.rb
Expand Up @@ -371,6 +371,9 @@ def rights_for_everyone
cannot :use, :omni_auth
can :use, :fast_lane
can :use, :mail_delivery_account_filter
can :use, :term_reports do
user.early_access?
end

# Jeder Internetbenutzer kann Semesterprogramm-PDFs herunterladen, damit
# die Verbindungen die Möglichkeit haben, die PDFs zu verlinken.
Expand All @@ -396,15 +399,12 @@ def rights_for_everyone

def rights_for_beta_testers
super

can :use, :term_reports
end

def rights_for_developers
super

can :use, :find_and_filter
can :use, :term_reports
end

end
Expand Down

0 comments on commit 3e85d77

Please sign in to comment.