diff --git a/init.rb b/init.rb index 6296609..f1896a8 100644 --- a/init.rb +++ b/init.rb @@ -5,7 +5,10 @@ author 'Chris Mann' description 'This plug exports project status into TaskJuggler and will import the dates too !' version '0.0.2' + #permission :taskjuggler, {:taskjuggler => [:index, :export, :initial_export, timetable]}, :public => true + #menu :project_menu, :taskjuggler, { :controller => 'taskjuggler', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier #menu :application_menu, :tjstatus, { :controller => 'tjstatus', :action => 'index' }, :caption => 'Task Juggler' - permission :taskjuggler, {:taskjuggler => [:index, :export, :initial_export]}, :public => true - menu :project_menu, :taskjuggler, { :controller => 'taskjuggler', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier + menu :top_menu, :taskjuggler, { :controller => 'taskjuggler', :action => 'timetable' }, :caption => 'Workload (Charge de travail)' + + end