2016-10-19 03:11:36 +00:00
|
|
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
2013-06-12 15:59:58 +00:00
|
|
|
|
2012-04-16 11:57:33 +00:00
|
|
|
class Group < ApplicationModel
|
2017-05-02 15:21:13 +00:00
|
|
|
include HasActivityStreamLog
|
|
|
|
include ChecksClientNotification
|
|
|
|
include ChecksLatestChangeObserved
|
|
|
|
include HasHistory
|
2017-01-31 17:13:45 +00:00
|
|
|
|
2018-06-25 10:35:57 +00:00
|
|
|
belongs_to :email_address
|
|
|
|
belongs_to :signature
|
|
|
|
|
|
|
|
validates :name, presence: true
|
2013-09-29 16:40:42 +00:00
|
|
|
|
2017-01-31 17:13:45 +00:00
|
|
|
activity_stream_permission 'admin.group'
|
2015-04-27 14:15:29 +00:00
|
|
|
end
|