Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Problem
You want to hide the time-tracking information details for customers (for example, such as internal costs).
Solution
You can do this with using Power Scripts™ Live Fields.
Enter the script provided below script and associate link it with to the main Live Fields configuration on in your project.
Info |
---|
The information is hidden on the user interface for users with assigned the Customer role. However, but it is still visible accessible when inspecting the page source. |
hide_tt.sil
Code Block | ||
---|---|---|
| ||
if(isUserInRole(currentUser(),project, "Customer")) { lfHide("timetracking_panel"); lfHide("history_tab"); lfHide("worklog_tab"); } |
Table of Contents
Table of Contents |
---|