Fixed Some permission errors

Jarvis901

New Member
Two permission bugs that I've encountered while using Social Groups 2.6.4

1. If a user group (I think the primary group) has "0" set for "Maximum groups can add", it will not respect the individual group category setting where "Allow user groups can create". They will be allowed to create groups in that category regardless.

2. The "Bypass all group rules" under Group Moderator Permission will not respect the individual group moderator permission. If this is intended, the wording should be changed to reflect this. As I understand it, this should respect all individual group moderator permissions while allowing the moderators to bypass the privacy settings in the groups.

Let me know if you need further information on those.

Thanks!
 
#1: 0 it is mean you cannot add any groups. XF has option Unlimited. You might use that.
#2: i did not understand this sence correctly. Can you explain?
 
Let me try to rephrase both bug because I don't think I got my points across thoroughly.

#1: If you set "0" or "Unlimited" for "Maximum groups can add" under "[Nobita] Social Groups Permissions", then the user will be able to create groups under any categories, regardless if the group category does not allow that user group to create groups in that category.

For example, I have a group category "Premium" where I only allow users with "Premium" user groups to create groups in there. However, if I give Registered user group "0" or "Unlimited" option under "Maximum groups can add", they will also be able to create groups "Premium" categories as well.

#2: If the "Bypass all group rules" is set to "Yes", then the moderator will be able to bypass the group privacy (as expected). However, it will also bypass all the permissions under Social Group Moderators such as "Edit group by anyone", "Feature / unfeature groups" and more, regardless if the permission is set to "Not Set (No)". http://imgur.com/a/E5BQk

Please let me know if you need further clarification.
 
If you set "0" or "Unlimited" for "Maximum groups can add" under "[Nobita] Social Groups Permissions", then the user will be able to create groups under any categories, regardless if the group category does not allow that user group to create groups in that category.
Jarvis901I must say again. 0 is disabled. But what is your permission set? If that Unlimited so it is like an bug.

#2: If the "Bypass all group rules" is set to "Yes", then the moderator will be able to bypass the group privacy (as expected). However, it will also bypass all the permissions under Social Group Moderators such as "Edit group by anyone", "Feature / unfeature groups" and more, regardless if the permission is set to "Not Set (No)". http://imgur.com/a/E5BQk
Very clearly now. I will look into it.
 
It doesn't matter if it was set to 0/disabled or Unlimited. They both bypass the group category setting.

Permission: http://imgur.com/a/gqN5A
The group category setting http://imgur.com/a/KEV1F I have to remove bunch of stuff here but the user group with "Unlimited" is not checked. However, they can still create groups under this category.
 
Last edited:
It doesn't matter if it was set to 0/disabled or Unlimited. They both bypass the group category setting.

Permission: http://imgur.com/a/gqN5A
The group category setting http://imgur.com/a/KEV1F I have to remove bunch of stuff here but the user group with "Unlimited" is not checked. However, they can still create groups under this category.

Edit:
I'm not sure if you mind me adding one more bug here. But there's a bug with "Move (Thread) to Group" under Thread Tools

When you move a thread to a group, the path of the thread changes correctly;
When you move that thread from the group back to the forums, the path of the thread doesn't change. http://imgur.com/a/TE4ko
Jarvis901Please split as new thread for that.
 
Back
Top