Project Admin group selection not working
Brought to you by:
dkeir
A xoops group assigned to the project admin role is
not able to fully administer projects. They are able
to see the project menu, but are given a permission
denied error when attempting to add a new project.
This problem does not exist with tasks. I have not
tested with clients.
Logged In: YES
user_id=1526681
I forgot to mention that anyone in the xoops webmaster
group can still fully administer projects
Logged In: NO
I have the exact same problem. It works fine for both clients and tasks, but not for projects. Any solution out there?
Logged In: YES
user_id=1751946
Originator: NO
One easy and no_so_nice solution:
In file "class.AuthenticationManager.php"
around the last ten lines, find the line:
return $allowed;
and change to:
return true;
This allows anyone to manage projects, but only those will see the menu option for it who you give access throuh Timesheet Preferences "Project admin" group permissions.
Logged In: YES
user_id=1751946
Originator: NO
Here is the real solutiuon instead of my previous not_so_nice quick remedy sketch:
Found the bug that prevented users in groups assigned project admin permission to administer projects, leaving only XOOPS admin the option to do so.
In file "proj_action.php" around line 6 find line
if (!$authenticationManager->isLoggedIn('project')) {
and change it to
if (!$authenticationManager->isLoggedIn('projectadmin')) {
save and close the file, and now users in groups given the "Project Admin Menu" permission in "Timesheet preferences" can fully administer projects.
Cheers,
csurgay
csurgay@freemail.hu