Modified: branches/authorization_new/lib/authorization.rb (2051 => 2052)
--- branches/authorization_new/lib/authorization.rb 2009-01-15 19:09:27 UTC (rev 2051)
+++ branches/authorization_new/lib/authorization.rb 2009-01-16 11:06:53 UTC (rev 2052)
@@ -210,12 +210,16 @@
case action_name
when 'show', 'index', 'view', 'search', 'favourite', 'favourite_delete', 'comment', 'comment_delete', 'comments', 'comments_timeline', 'rate', 'tag', 'items', 'statistics', 'tag_suggestions'
action = ''
- when 'new', 'create', 'update', 'edit', 'new_version', 'create_version', 'destroy_version', 'edit_version', 'update_version', 'new_item', 'create_item', 'edit_item', 'update_item', 'quick_add', 'resolve_link'
+ 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'
action = ''
when 'download', 'named_download', 'launch', 'submit_job'
action = ''
when 'destroy', 'destroy_item'
action = ''
+ when 'execute'
+ # action is available only(?) for runners at the moment;
+ # possibly, "launch" action for workflows should be moved into this category, too
+ action = ''
else
# unknown action
action = ""