myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2321] branches/event_logging/lib/authorization.r


From: noreply
Subject: [myexperiment-hackers] [2321] branches/event_logging/lib/authorization.rb: added fix for contribution news
Date: Sat, 23 Jan 2010 05:18:45 -0500 (EST)

Revision
2321
Author
dgc
Date
2010-01-23 05:18:44 -0500 (Sat, 23 Jan 2010)

Log Message

added fix for contribution news

Modified Paths

Diff

Modified: branches/event_logging/lib/authorization.rb (2320 => 2321)


--- branches/event_logging/lib/authorization.rb	2010-01-22 23:18:57 UTC (rev 2320)
+++ branches/event_logging/lib/authorization.rb	2010-01-23 10:18:44 UTC (rev 2321)
@@ -458,7 +458,7 @@
 
   def Authorization.categorize_action(action_name)
     case action_name
-      when 'show', 'index', 'view', 'search', 'favourite', 'favourite_delete', 'comment', 'comment_delete', 'comments', 'comments_timeline', 'rate', 'tag',  'items', 'statistics', 'curation', 'tag_suggestions', 'read', 'verify'
+      when 'show', 'index', 'view', 'search', 'favourite', 'favourite_delete', 'comment', 'comment_delete', 'comments', 'comments_timeline', 'rate', 'tag',  'items', 'statistics', 'curation', 'tag_suggestions', 'read', 'verify', 'news'
         action = ''
       when 'edit', 'new', 'create', 'update', 'new_version', 'create_version', 'destroy_version', 'edit_version', 'update_version', 'new_item', 'create_item', 'edit_item', 'update_item', 'quick_add', 'resolve_link', 'process_tag_suggestions'
         action = ''

reply via email to

[Prev in Thread] Current Thread [Next in Thread]