diff options
Diffstat (limited to 'app/jobs/agency_watcher_job.rb')
-rw-r--r-- | app/jobs/agency_watcher_job.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/jobs/agency_watcher_job.rb b/app/jobs/agency_watcher_job.rb index 7a114d2..23266e8 100644 --- a/app/jobs/agency_watcher_job.rb +++ b/app/jobs/agency_watcher_job.rb @@ -33,6 +33,8 @@ class AgencyWatcherJob < ApplicationJob Rails.logger.debug("AgencyWatcher: grant leader to %s in %s" % [user.username, g]) # Grant leader r.grant(:leader) + # Grant maintainer + r.grant(:maintainer) elsif r.roles == 0 # No role: grant editor Rails.logger.debug("AgencyWatcher: grant editor to %s in %s" % [user.username, g]) |