URL:
  <http://gna.org/support/?func=detailitem&item_id=706>

                 Summary: group_restrictions_check goes wrong
                 Project: Savane
            Submitted by: kickino
            Submitted on: Sat 09/10/2005 at 14:17
                Category: Installation/Configuration
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 

    _______________________________________________________

Details:

Hello guys.

Since yesterday, we (savannah) have got a problem with the task tracker.
Logged-in Users (not part of the project) get a message:
"You are not allowed to post comments on this tracker with your current
authentification level."
but this occours to /all/ of our projects, so that's not a permission problem
I think.


I investigated this issue and found out strange things.
Seems like this message is created in include/trackers_run/detail.php because
of:
"if (!group_restrictions_check($group_id, ARTIFACT, 2))"

So I had a look at Group.class and found out:
"group_restrictions_check ($group_id, $artifact, $event=1)"

Could it be that you call the function with a constant and overwrite the same
time the variable $event=1?
Seems like a conflict... but why this occours only since yesterday is strange
anyway. :-/

Maybe you can help me out?
Regards,

Sebastian Wieseler






    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?func=detailitem&item_id=706>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Répondre à