Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4dbd28ee
Commit
4dbd28ee
authored
May 21, 2018
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport changes to app/controllers/groups/group_members_controller.rb
parent
fe0ebf76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/controllers/groups/group_members_controller.rb
app/controllers/groups/group_members_controller.rb
+5
-1
No files found.
app/controllers/groups/group_members_controller.rb
View file @
4dbd28ee
...
...
@@ -3,8 +3,12 @@ class Groups::GroupMembersController < Groups::ApplicationController
include
MembersPresentation
include
SortingHelper
def
self
.
admin_not_required_endpoints
%i[index leave request_access]
end
# Authorize
before_action
:authorize_admin_group_member!
,
except:
[
:index
,
:leave
,
:request_access
]
before_action
:authorize_admin_group_member!
,
except:
admin_not_required_endpoints
skip_cross_project_access_check
:index
,
:create
,
:update
,
:destroy
,
:request_access
,
:approve_access_request
,
:leave
,
:resend_invite
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment