diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-10 01:26:00 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-10 02:36:38 -0600 |
commit | 5af281b0578c0752a1d08ebd697719387aee7e6e (patch) | |
tree | 661ca8f023c09cd7435bf2ee1e457e336a2fa961 /app/policies | |
parent | 882d089dd0d863ac6ca81b75b78472683b533420 (diff) |
add synchronize button to account manager
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/account_policy.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/policies/account_policy.rb b/app/policies/account_policy.rb index 35f9b98b3..21e6e6132 100644 --- a/app/policies/account_policy.rb +++ b/app/policies/account_policy.rb @@ -54,7 +54,11 @@ class AccountPolicy < ApplicationPolicy end def redownload? - admin? + staff? + end + + def sync? + staff? end def remove_avatar? |