Commit dc333a8c authored by Frank Bergmann's avatar Frank Bergmann

- Changed ad_conn_user_id to ad_conn user_id

- Added workflow updates in order to eliminate
  "modify" as the first transition in a WF
parent 15a2df66
Pipeline #471 failed with stages
......@@ -9,7 +9,7 @@
#
# ---------------------------------------------------------------------
set current_user_id [ad_get_user_id]
set current_user_id [ad_conn user_id]
# The following variables are expected in the environment
# defined by the calling /tcl/*.tcl libary:
......
......@@ -21,7 +21,7 @@ ad_proc -public im_timesheet_interval_portlet {
} {
# Sencha check and permissions
if {![im_sencha_extjs_installed_p]} { return "" }
set current_user_id [ad_get_user_id]
set current_user_id [ad_conn user_id]
im_project_permissions $current_user_id $project_id view_p read_p write_p admin_p
if {!$read_p} { return "" }
if {![im_permission $current_user_id add_hours]} { return "" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment