1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-10 19:23:06 +00:00

Merged r21218 from trunk to 4.2-stable (#35827).

git-svn-id: http://svn.redmine.org/redmine/branches/4.2-stable@21221 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2021-09-11 10:16:03 +00:00
parent 3fd9787e43
commit 1dc3448218

View File

@ -27,8 +27,7 @@ class ProjectsController < ApplicationController
before_action :authorize,
:except => [:index, :autocomplete, :list, :new, :create, :copy,
:archive, :unarchive,
:destroy
]
:destroy]
before_action :authorize_global, :only => [:new, :create]
before_action :require_admin, :only => [:copy, :archive, :unarchive]
accept_rss_auth :index