mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-10-04 09:10:44 -04:00
Implement global permissions for vehicle actions and update version to 2026.9.0
This commit is contained in:
1 parent
849dcabff7
commit
df41436e61
5 files changed
+27
-13
No files matched your search
@@ -13,6 +13,8 @@ class VehiclesController < ApplicationController
|
||||
|
||||
include AuthHelper
|
||||
|
||||
# This tells Redmine to check global permissions for the current controller/action
|
||||
before_action :authorize_global
|
||||
before_action :require_user
|
||||
|
||||
def allowed_params
|
||||
|
||||
Reference in new issue
Block a user