Skip to content
Snippets Groups Projects
Commit b24346fa authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix permissions for TeamMembers#index

parent 02b24cef
No related branches found
No related tags found
1 merge request!1477Routing specs and cleanup
Loading
Loading
@@ -5,7 +5,10 @@ class TeamMembersController < ApplicationController
# Authorize
before_filter :add_project_abilities
before_filter :authorize_read_project!
before_filter :authorize_admin_project!, except: [:show]
before_filter :authorize_admin_project!, except: [:index, :show]
def index
end
 
def show
@team_member = project.users_projects.find(params[:id])
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment