summaryrefslogtreecommitdiff
path: root/help/app/models
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-08-15 00:03:00 -0700
committerazul <azul@riseup.net>2013-08-15 00:03:00 -0700
commitbe944809f6708be55a1111085b1483af3c646b14 (patch)
treee61ef82604a5ab404339fc6dbf3ba53bf0478d2a /help/app/models
parentbca39b8f0d44dc31f77a3bfc8a94d452b4c77670 (diff)
parent53cd653ade859ec240d14981c4e9f85cc62cd6fd (diff)
Merge pull request #66 from jessib/feature/comment_creation_access
Per ISEC informational issue, manually set the private property only in ...
Diffstat (limited to 'help/app/models')
-rw-r--r--help/app/models/ticket_comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/models/ticket_comment.rb b/help/app/models/ticket_comment.rb
index 1df7eec..13bea2b 100644
--- a/help/app/models/ticket_comment.rb
+++ b/help/app/models/ticket_comment.rb
@@ -7,7 +7,7 @@ class TicketComment
property :posted_at, Time#, :protected => true
#property :posted_verified, TrueClass, :protected => true #should be true if current_user is set when the comment is created
property :body, String
- property :private, TrueClass # private comments are only viewable by admins
+ property :private, TrueClass # private comments are only viewable by admins #this is checked when set, to make sure it was set by an admin
# ? timestamps!
validates :body, :presence => true