authorization changes
This commit is contained in:
parent
9c489937e3
commit
da57dd8608
|
@ -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}",
|
||||
|
|
Loading…
Reference in New Issue