mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Implement global permissions for customer appointments and update views to check permissions before displaying actions
This commit is contained in:
1 parent
167e956457
commit
97ed852068
8 files changed
+70
-40
No files matched your search
@@ -12,7 +12,8 @@ class CustomerAppointmentsController < ApplicationController
|
||||
before_action :require_login
|
||||
before_action :find_project, except: [:index]
|
||||
before_action :find_appointment, only: [ :show, :edit, :update, :destroy ]
|
||||
#before_action :authorize
|
||||
# This tells Redmine to check global permissions for the current controller/action
|
||||
before_action :authorize_global
|
||||
|
||||
helper :projects
|
||||
|
||||
|
||||
Reference in new issue
Block a user