Feature #1282
closed
Hide the Worktime shortcut in header bar
Added by JEREMY LEGRAND about 10 years ago.
Updated over 8 years ago.
Description
Hi,
I would like to hide the Worktime shortcut in header bar (positionned after the 'logged in as')
I want to display this link only to the specific roles.
I have clients who must not access to this part of Redmine.
Can you help me to do that ?
I really appreciate your plugin and redmine (I'm a newbie in Redmine ^^).
Thanks in advance for your answer,
best regards
Files
- Project changed from r-labs to Work Time
- Status changed from 新規(New) to フィードバック(Reopend)
- Assignee set to JEREMY LEGRAND
Hi, JEREMY.
You can comment out following 2 lines to remove 'WorkTime' link on account menu.
redmine_work_time/init.rb
$ diff init.rb.org init.rb
23,24c23,24
< menu :account_menu, :work_time,
< {:controller => 'work_time', :action => 'index'}, :caption => :work_time
---
> # menu :account_menu, :work_time,
> # {:controller => 'work_time', :action => 'index'}, :caption => :work_time
best regards
- Status changed from フィードバック(Reopend) to 解決(Resolved)
- % Done changed from 0 to 100
更新履歴 commit:4f561da26ee8 で適用されました。
- Status changed from 解決(Resolved) to 終了(Closed)
- Target version set to 0.3.0
Also available in: Atom
PDF