New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand Forum Moderator permissions #688
Comments
This adds the permissions to the database and the Admin CP form. |
Round 1 of updated Mod permissions
Round 2 of updated Mod permissions. Only showthread.php and Mod CP should be left
That finishes everything |
Forgot the Forum Display mod menu; improved on Show Thread menu
Permission scheme in Mod CP updated to work with new mod perms
Finished permission scheme in Mod CP updated to work with new mod perms
Okay, that finishes everything. |
Can view unapproved threads and posts? and Can view deleted threads and posts? options do not work. |
Fixed unapproved and deleted permissions
That should fix it. |
Thank you. |
@PaulBender |
@xykul not sure what you mean. The settings work fine for me. |
Okay, I see what the problem is, fixing... |
Fixed unapproved and deleted permissions with posts
Missed some permissions on the postbit(s)
Did you only added per-moderator permissions or per-group and/or per-forum too? |
It's just per moderator permissions I added |
Do you plan on adding per-group ones like "Can manage annoucements"? I thought you already did. |
I added some Mod CP permissions in the moderator permissions (the ones that can be regulated per forum, like announcements, mod queue, reported posts and viewing the mod log). I will add per-group ones right now. |
That adds a group-based permission scheme to the Mod CP |
Mod CP permissions for the profile Mod CP links Added model pop-up for user notes if over cutoff
This commit adds the new Mod CP permissions for the profile Mod CP links (forgot about them) It also adds model pop-up to view all user notes if notes are longer than the 100 characters cutoff. |
Last remaining Mod CP locations now use Mod CP permissions
@xykul, does your account have group with Super Moderator permission? If not, you have to report/log/unapprove something in assigned forum(s) to see the menu. Not sure why, I don't think it should be like this. EDIT: it's actually more complicated and messy than I thought - right now single forum user moderators lose their functionality because they have to be in a group which has these permissions. |
Moderators group |
@PaulBender this is urgent as you have committed directly. |
Not quite sure what the problem is. If a user isn't a super moderator they must be assigned to at least one forum in order to see the options in the Forums & Posts menu. Otherwise I'd be showing them links that go nowhere. I should add a notice in the Admin CP making it clear to Admins that it works that way. |
Added notices in the Admin CP telling uses how the system works
Doesn't make any sense for me. |
The Registered group shouldn't have access to the Mod CP at all. If a mod is being left in the Registered group, or any group that doesn't have permission to access the Mod CP, they shouldn't access anything in the Mod CP, period. |
Well then, fair enough. I thought the moderator system was confusing already, now it's even more. But whatever, 'period'. |
@PaulBender Assigning an user as moderator to X forum doesn't behave the same that assigning a group to it. Probably it should be modified to work the same way. Currently single moderators are allowed to enter the ModCP regardless of their group permissions. @Destroy666x, I think per-group permission should override per-moderator ones as it currently does (they may be moderate posts/content but cannot access the ModCP, which the permissions aim to control). But yeah, MyBB is confusing at some parts. |
I agree with @Sama34 |
@Sama34 You sure? When I assigned a user to moderate a forum and made sure that they were in a group that can't access the Mod CP, I got a You do not have permission to access this page. error everywhere in the Mod CP. modcp.php checks to see if you have the Can access Mod CP group permission first and throws an error if you don't have it (or you're a guest). I agree that per-group permission should override per-moderator permission (the per-moderator permission was really intended to control ability to use that function for the forum the moderator is assigned to). |
Updated descriptions for moderator permissions dealing with the Mod CP permissions.
I updated the descriptions for the moderator permissions dealing with the Mod CP permissions to make it clear that they only apply for that forum. |
Never mind, the reason is the user being moved to the "Moderators" groups when assigned as a single forum moderator. No sure why it works like this. |
Closing this. |
Add more permissions to the forum moderator system to allow for more flexibility.
Also add group based permissions to the Mod CP
The text was updated successfully, but these errors were encountered: