Skip to content
Snippets Groups Projects
Commit bf0996cc authored by Valery Sizov's avatar Valery Sizov
Browse files

Negative approvals required

parent 6b028ed8
No related branches found
No related tags found
No related merge requests found
v 8.3.0 (unreleased)
- License information can now be retrieved via the API
- Fix bug with negative approvals required
 
v 8.2.0
- Invalidate stored jira password if the endpoint URL is changed
Loading
Loading
Loading
Loading
@@ -444,7 +444,7 @@ class MergeRequest < ActiveRecord::Base
end
 
def approved?
approvals_left.zero?
approvals_left < 1
end
 
def approved_by?(user)
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