2

We have a Problem with Absences:

  1. A User who created an Absence can not edit the Absence after wards :(
  2. After a user's Absence was approved he/she can still delete the absence :(

How to set the permissions for absences?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Thorsten Niehues
  • 13,712
  • 22
  • 78
  • 113

2 Answers2

1

I understand your absence is controlled by a workflow, is that correct? There are two parameters controlling the behavior, so the correct solution would be to create copies of the permission functions and to set the parameters AbsenceNewPageWfEditButtonPerm and AbsenceNewPageWfDeleteButtonPerm accordingly. Please see the source code for details.

fraber
  • 1,204
  • 1
  • 8
  • 21
0

I found the file

packages/intranet-timesheet2/tcl/intranet-absences-procs.tcl

which contains the permission matrix im_absence_new_page_wf_perm_table

Unfortunately the permissions do not get effective immediately - a restart of project-open causes the permissions to be active.

A better solution would be desired - but at least it works :/

Thorsten Niehues
  • 13,712
  • 22
  • 78
  • 113