Membergroup permissions

Started by bosswhite, May 27, 2015, 04:35:22 PM

Previous topic - Next topic

bosswhite

I am struggling with membergroups and making permissions work.

I enabled Post Moderation in Core Features.
I created a new membergroup named PostWatch.
I set permissions within this group to Post topics and replies to the board only after they have been approved.

I noticed today that one of the members I had placed within this group had made a post without being asked to approve it.

Does anybody have any ideas where I may be going wrong?
Thank you.

SMF 2.0.10
I've been down so long now it's beginning to look like up..

Illori

one of the many times this has been posted. after you read it, do you have any questions? without really knowing what your exact setup is and which permissions you have given, it is hard to tell what is wrong.

Quote from: Arantor on August 26, 2014, 07:39:14 AM
QuoteLet me explain the problem of doing this on a fresh SMF install, and you're welcome to join in at home. Today's challenge: configure it so that regular users don't have moderation but new users with up to and including 5 posts are moderated.

There are, in fact, two ways to do this, both of which are convoluted.

1. Turn on post moderation in Core Features.
2. Making sure that the 0-post count group is left alone, create a new post count group that requires 5 posts, so that once a user has successfully posted 5 posts (and until they're approved, it won't affect their post count), they can have different permissions attached.
3. Admin > Members > Permissions > Settings > Enable permissions for post count based groups (tick) > save

Here's where the paths diverge. Here's path A:
A4: On the same page as above (Admin > Members > Permissions > Settings) also enable Enable the option to deny permissions
A5: Go to Admin > Members > Permissions > Board Permissions and for each profile (that allows posting) set the permissions up as follows: Regular members should have "Post new topics, without requiring approval" and "Post replies to topics, without requiring approval" enabled, while the 0-post count group should have those permissions *denied* and "Post new topics, but hide until approved" and "Post replies to topics, but hide until approved" in their place. Once the user leaves the 0-post count group for the 5-post count group, the other permissions are no longer denied.[3]

Or, path B. It doesn't require deny permissions but it does things another way.
B4: Go to Admin > Members > Permissions > Board Permissions. For Regular Members, set all the posting permissions to disallow. Then in the 0-post count group, give them "Post new topics, but hide until approved" and "Post replies to topics, but hide until approved" and for every other post count group, give them "Post new topics, without requiring approval" and "Post replies to topics, without requiring approval".[4]

Either way, banal and frustrating (and in fact, you still have to do the same thing using the other interface but it's actually slightly *more* confusing, not less there).

___________________________

3.    But now we have an extra membergroup that does absolutely nothing other than allow another group's permissions to expire.
4.    This means you still have the extra group, but at least the extra group is now doing something. This is also very fractionally faster, but harder to maintain as you have to set the new permission up on any new post count group you create.

Advertisement: