authorization changes

This commit is contained in:
Harry Bomrah 2014-10-20 19:04:26 +08:00
parent 9c489937e3
commit da57dd8608
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,6 @@ module WebResource
:priority=>1,
:active_for_action=>{'admin/web_resources'=>'index'},
:available_for => 'users'
context_link 'new_',
:link_path=>"new_admin_web_resource_path" ,
:priority=>2,
@ -36,6 +35,7 @@ module WebResource
:active_for_action=>{'admin/web_resources.'=>'categories'},
:active_for_category => 'WebResource',
:available_for => 'managers'
context_link 'tags',
:link_path=>"admin_module_app_tags_path" ,
:link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'web_resource').id}",