Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-tasks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-timesheet2-tasks
Commits
da7f34a0
Commit
da7f34a0
authored
Jan 13, 2006
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- now a user needs "project read" AND 2view_timesheet_tasks_all permissions
in order to see a timesheet component
parent
11dbd1d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
intranet-timesheet2-tasks-procs.tcl
tcl/intranet-timesheet2-tasks-procs.tcl
+1
-1
No files found.
tcl/intranet-timesheet2-tasks-procs.tcl
View file @
da7f34a0
...
...
@@ -93,7 +93,7 @@ ad_proc -public im_timesheet_task_list_component {
set end_idx
[
expr
$start
_idx +
$max
_entries_per_page - 1
]
im_project_permissions
$user
_id
$restrict
_to_project_id view read write admin
if
{
!$read
&&
!
[
im_permission
$user
_id view_timesheet_tasks_all
]}
{
return
""
}
if
{
!$read
||
!
[
im_permission
$user
_id view_timesheet_tasks_all
]}
{
return
""
}
set view_id
[
db_string get_view_id
"select view_id from im_views where view_name=:view_name"
-default 0
]
if
{
0 ==
$view
_id
}
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment