Got big problems for 1.0.2 users permissions
Page: 1
Hi all,
After upgrading to 1.0.2, I just can't add time tracking (add time box not displaying)
only way to fix that is to delete someone from a project and add him back with full permissions...
but here also we've a problem, I just can't delete simple members... although I'm administrator !
Anyone got same issues?
(Sorry Ilija for not posting this in the support system but since yesterday evening I didn't get any answer from the there...)
After upgrading to 1.0.2, I just can't add time tracking (add time box not displaying)
only way to fix that is to delete someone from a project and add him back with full permissions...
but here also we've a problem, I just can't delete simple members... although I'm administrator !
Anyone got same issues?
(Sorry Ilija for not posting this in the support system but since yesterday evening I didn't get any answer from the there...)
Walid Iguer
Ilija Studen
on Oct 17. 2007. 6:29 am
Hi Lighty,
Can you open /activecollab/application/modules/timetracking/models/TimeRecord.class.php and alter canAdd() function with this code:
Support response time is up to 1 business day.
Can you open /activecollab/application/modules/timetracking/models/TimeRecord.class.php and alter canAdd() function with this code:
function canAdd($user, $project) {
return $user->isProjectMember($project) && ($user->isOwner() || $user->isProjectLeader($project) || $user->hasPermission('timetracking_add', $project));
} // canAddSupport response time is up to 1 business day.
activeCollab team member
Hi Ilija,
something really weird, /activecollab/application/modules/timetracking/models/TimeRecord.class.php doesn't exist...
here the content of /activecollab/application/modules/timetracking/models/
ls -R
.:
timetracking
./timetracking:
TimeRecord.class.php TimeRecords.class.php
What file am I supposed to edit ? I'm using 1.0.2 version (I don't know why but I don't have anything saying it's 1.0.2 in the admin page... but I have the trash in the main menu as you said it has been added in the 1.0.2 version)
something really weird, /activecollab/application/modules/timetracking/models/TimeRecord.class.php doesn't exist...
here the content of /activecollab/application/modules/timetracking/models/
ls -R
.:
timetracking
./timetracking:
TimeRecord.class.php TimeRecords.class.php
What file am I supposed to edit ? I'm using 1.0.2 version (I don't know why but I don't have anything saying it's 1.0.2 in the admin page... but I have the trash in the main menu as you said it has been added in the 1.0.2 version)
Walid Iguer
replacing
by your code in /activecollab/application/modules/timetracking/models/timetracking/TimeRecord.class.php makes it working
function canAdd($user, $project) {
return $user->isProjectMember($project) && $user->hasPermission('timetracking_add', $project);
} // canAdd
by your code in /activecollab/application/modules/timetracking/models/timetracking/TimeRecord.class.php makes it working
Walid Iguer
Ilija Studen
on Oct 17. 2007. 12:53 pm
This issue has been fixed in activeCollab 1.0.3. Thank you for reporting it.
activeCollab team member



