Page 1 of 1

Possible Bug - Agent ingroup selection permission issue

PostPosted: Thu Apr 03, 2025 2:55 pm
by alo
We Noticed a possible bug that seems to still exist in SVN 3919.

When selecting active ingroups in the modify users section, if a level 8 admin tries to select the ingroups for a user, it clears out all the selections.
However, if the admin is a level 9 and has "Alter admin interface options" set to 1, it appears to work as expected.

I believe this show allow an admin to select the ingroups even if they are a level 8 and have "Alter Agent Interface Options" or maybe "Modify In-Groups" set to 1. but not require "Admin interface options"

Is this right? is anyone else experiencing this?

Re: Possible Bug - Agent ingroup selection permission issue

PostPosted: Thu Apr 03, 2025 8:06 pm
by williamconley
Just checked my system and this did not occur (changed a level 9 user to level 8 and altered ingroups without any odd behavior, added one, then removed one: the other groups were unaffected).

I'm on SVN 3898. You said "Still exist" implying that this is an "old bug". But if it were an old bug, I'd expect you to have found/linked an entry from the Vicidial Issue Tracker or another thread here on the forum.

So I'm guessing you've had this problem before, and it persists.

Did the Level 8 user have all the same permissions as the level 9 user (and user group, and everything else)? IE: the ONLY difference between those two users was the level?

Do you have custom code on your system? Have you specifically altered admin.php from STOCK for your SVN level?

Re: Possible Bug - Agent ingroup selection permission issue

PostPosted: Thu Apr 03, 2025 9:55 pm
by alo
to be clear, We noticed this first occurring after vicibox12 with php8. probably around SVN 3905. and its still occurring even after updating to the latest.

Re: Possible Bug - Agent ingroup selection permission issue

PostPosted: Tue Apr 08, 2025 10:52 am
by williamconley
ah, well I'm running 7 revisions behind that "first noticed" version and I'm also on php 5.5.14.

If I find a reason to upgrade soon, I'll let you know if it's the Vici code or perhaps a php 8 issue (although I'd expect an error in a log somewhere for a php error)