gitlab-org--gitlab-foss/spec/services/notes
Heinrich Lee Yu 35b8f103a8
Prevent comments by email when issue is locked
This changes the permission check so it uses the policy on Noteable
instead of Project. This prevents bypassing of rules defined in
Noteable for locked discussions and confidential issues.

Also rechecks permissions when reply_to_discussion_id is provided since the
discussion_id may be from a different noteable.
2019-01-31 16:52:48 +01:00
..
build_service_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
create_service_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
destroy_service_spec.rb
post_process_service_spec.rb
quick_actions_service_spec.rb
render_service_spec.rb
resolve_service_spec.rb
update_service_spec.rb