Skip to content

Commit

Permalink
Fixes access to Road Map List.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed May 29, 2024
1 parent f6ac6ca commit 6b0662b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/controllers/software_records_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ class SoftwareRecordsController < ApplicationController
before_action :authenticate_user!, except: %i[new create show]
before_action :set_software_record, only: %i[show edit update destroy]
before_action :navigation, except: %i[edit update]
access all: %i[create show], viewer: %i[index show], owner: %i[index show edit update list_upgrades],
manager: %i[index show edit update new create destroy list_upgrades], root_admin: :all, message: 'Permission Denied ! <br/> Please contact the administrator for more info.'
# GET /software_records
access all: %i[create show], viewer: %i[index show], owner: %i[index show edit update list_upgrades list_road_map],
manager: %i[index show edit update new create destroy list_upgrades list_road_map], root_admin: :all, message: 'Permission Denied ! <br/> Please contact the administrator for more
info.'


# GET /software_records

def index
$page_title = 'Software Records | UCL Application Portfolio'
Expand Down

0 comments on commit 6b0662b

Please sign in to comment.