Menu

#1 Project Admin group selection not working

open
nobody
5
2006-05-21
2006-05-21
Anonymous
No

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.

Discussion

  • thintzmann

    thintzmann - 2006-05-22

    Logged In: YES
    user_id=1526681

    I forgot to mention that anyone in the xoops webmaster
    group can still fully administer projects

     
  • Nobody/Anonymous

    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?

     
  • csurgay

    csurgay - 2007-03-24

    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.

     
  • csurgay

    csurgay - 2007-03-26

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.