Group Leaders Bugs [message #11945] |
Wed, 23 July 2003 12:41 |
ctbk
Messages: 142 Registered: April 2002 Location: Milan, Italy
Karma: 0
|
Senior Member |
|
|
First bug:
I created a group where its members don't have any permission at all (banned).
When I try to make someone of my trusted users leader of this group (so he can ban users who deserve it) he loses all his privileges. If I reconfirm his permissions in the group of superusers he belongs to, the problem is solved.
Question: is this the correct behaviour? Group leaders have got to have the same permissions of the group they lead?
Anyway, after I've reconfirmed superuser's permission, he can't still see the entries in the "Show what people are doing" page, as if he didn't have the permissions to see the forum.
Second Bug:
After I added some user in the banned group, and then returned to the group leaders management screen, I can see all the members listed together with the leaders, as if all of them were leaders.
Third Bug:
While adding a leader, if the nick's mask of the leader isn't unique, a list of nick matching the mask entered is shown.
If I click the nick of the member I want to make leader, nothing happens: the same page (list of matching nicks) is loaded again. Result: I can make leaders just ppl with a unique nick. If I have 2 members, Guile and GuileForce in the db, and I want to make Guile a group leader, I can't.
~
~
:wq
[Updated on: Wed, 23 July 2003 12:55] Report message to a moderator
|
|
|
Re: Group Leaders Bugs [message #11948 is a reply to message #11945] |
Wed, 23 July 2003 12:55 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Group leaders have the maximum permissions in the group. Basically all the settings that they can change they'll have enabled. So, if a group leader has the ability to grant/revoke posting permission, that group leader will have the ability to post and so on.
FUDforum Core Developer
|
|
|
|
Re: Group Leaders Bugs [message #11950 is a reply to message #11949] |
Wed, 23 July 2003 13:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To create a secure group create it with anon & all regged users. Then remove all permissions from those two users and add a leader to that group making sure that leader can control all of the group permissions.
I'll take a look @ the other two bugs.
P.S. For the future please post additional bugs as replies, otherwise I will miss them since I only look at replies not the original message.
FUDforum Core Developer
|
|
|
Re: Group Leaders Bugs [message #11951 is a reply to message #11950] |
Wed, 23 July 2003 13:24 |
ctbk
Messages: 142 Registered: April 2002 Location: Milan, Italy
Karma: 0
|
Senior Member |
|
|
To solve the third bug, I think it's enough to change line 79 of file admgrouplead.php from:
$c = uq('SELECT u.id, u.alias FROM '.$tbl.'group_members gm INNER JOIN '.$tbl.'users u ON u.id=gm.user_id WHERE gm.group_id='.$group_id);
to
$c = uq('SELECT u.id, u.alias FROM '.$tbl.'group_members gm INNER JOIN '.$tbl.'users u ON u.id=gm.user_id WHERE gm.group_id='.$group_id WHERE gm.group_leader = 'Y');
I suspect the second one it's more tricky to solve
Quote: | P.S. For the future please post additional bugs as replies, otherwise I will miss them since I only look at replies not the original message.
|
Yep, no problem with that. I thought you weren't online, so I thought you would read the topic much later
~
~
:wq
[Updated on: Wed, 23 July 2003 13:30] Report message to a moderator
|
|
|
Re: Group Leaders Bugs [message #11963 is a reply to message #11951] |
Thu, 24 July 2003 00:37 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Bug #2 is fixed, bug #3 I cannot replicate.
When I click on the name of the user, that user gets added to the group.
When you click on the user name, what are the parameters that are passed to the script?
FUDforum Core Developer
|
|
|
|
|
|