14 lines
373 B
Plaintext
14 lines
373 B
Plaintext
ruby:
|
|
if Additionals.setting?(:issue_freezed_with_close) &&
|
|
!User.current.allowed_to?(:edit_closed_issues, project) &&
|
|
@issues.detect(&:closed?)
|
|
@safe_attributes = []
|
|
@can[:edit] = false
|
|
@can[:edit] = false
|
|
@allowed_statuses = nil
|
|
@trackers = nil
|
|
@can[:add_watchers] = nil
|
|
@can[:delete] = nil
|
|
@options_by_custom_field = []
|
|
end
|