-
- Downloads
New :request_access ability to replace a ugly helper
- Group / project members cannot request access
- Group members cannot request access to a group's project
This addresses an issue where project owners could request access
to their own project, leading to UI inconsistency where their requester
status would replace their owner status.
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- app/helpers/members_helper.rb 0 additions, 11 deletionsapp/helpers/members_helper.rb
- app/models/ability.rb 24 additions, 6 deletionsapp/models/ability.rb
- app/views/shared/members/_access_request_buttons.html.haml 1 addition, 1 deletionapp/views/shared/members/_access_request_buttons.html.haml
- spec/features/groups/members/member_cannot_request_access_to_his_project_spec.rb 16 additions, 0 deletions...mbers/member_cannot_request_access_to_his_project_spec.rb
- spec/features/projects/members/group_member_cannot_request_access_to_his_group_project_spec.rb 0 additions, 3 deletions...member_cannot_request_access_to_his_group_project_spec.rb
- spec/features/projects/members/member_cannot_request_access_to_his_project_spec.rb 16 additions, 0 deletions...mbers/member_cannot_request_access_to_his_project_spec.rb
- spec/features/projects/members/owner_cannot_request_access_to_his_project_spec.rb 16 additions, 0 deletions...embers/owner_cannot_request_access_to_his_project_spec.rb
- spec/helpers/members_helper_spec.rb 0 additions, 66 deletionsspec/helpers/members_helper_spec.rb
Loading
Please register or sign in to comment