mirror of
https://github.com/rickbarrette/redmine_qbo_reminders.git
synced 2026-11-17 21:00:36 -05:00
Separate permission for turning customer reminders off; fix the Compose recipe
- Send appointment reminders now covers only Send now / Send again; the new "Turn appointment reminders off/on for customers" permission covers the customer page's button - README's Compose service runs the task through the image's entrypoint, which installs the plugins' gems first (running bundle exec rake directly failed with Bundler::GemNotFound, since the Redmine container installs them at start) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
4 files changed
+18
-13
No files matched your search
@@ -28,8 +28,10 @@ Redmine::Plugin.register :redmine_qbo_reminders do
|
||||
|
||||
settings default: RedmineQboReminders::Settings::DEFAULTS.dup, partial: 'settings/appointment_reminders'
|
||||
|
||||
# Sending a reminder from the appointment page, and turning reminders on or off for a customer
|
||||
permission :send_appointment_reminders, { appointment_reminders: [:send_now, :opt_out, :opt_in] }, global: true
|
||||
# The Send now / Send again button on an appointment
|
||||
permission :send_appointment_reminders, { appointment_reminders: [:send_now] }, global: true
|
||||
# The Turn off / Turn on button on a customer
|
||||
permission :manage_customer_reminders, { appointment_reminders: [:opt_out, :opt_in] }, global: true
|
||||
end
|
||||
|
||||
RedmineQboReminders.setup
|
||||
Reference in new issue
Block a user