Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: ColinJM on May 25, 2024, 03:17:56 AM

Title: Permissions
Post by: ColinJM on May 25, 2024, 03:17:56 AM
Can some explain simply and step by step,  how I give people read access to a Category so they can see them, read the, but can't post please?
Title: Re: Permissions
Post by: Aleksi "Lex" Kilpinen on May 25, 2024, 03:22:05 AM
Exact steps depend on your current permission setup, but read, post and reply are different permissions.

Just remember, by default if someone belongs in any group allowing a permission, they will have the permission.

Deny is actually strongest, if you use deny permissions, and then if any one group denies a permission the user will not have the permission.
Title: Re: Permissions
Post by: ColinJM on May 25, 2024, 03:32:24 AM
thanks for the quick reply Aleksi - yes I do appreciate that read, post and reply are different.

How do I set permissions of each group so only certain people have read access permissions, but they don't have post or reply permissions?
Title: Re: Permissions
Post by: Aleksi "Lex" Kilpinen on May 25, 2024, 03:44:39 AM
In order to answer that in detail, I would need to know your membergroups and their permissions, but generally:

A new user joins, they belong to "regular members" and one of your post count groups (which, is based on post count).
If either of these 2 groups grants a permission, the user will have it.

If the new user is added to a different primary (visible) group, they will no longer be a regular user, they will belong to that manually set primary group, and one of your post count groups.

Handy cheat sheets:
Go to any users profile -> Profile info -> Permissions, and you will see what groups are giving out what permissions to that individual user.

Go to admin -> Maintenance -> Reports -> Group permissions, and you will see what groups have what permissions set.

https://wiki.simplemachines.org/smf/SMF2.1:Permissions
Title: Re: Permissions
Post by: ColinJM on May 25, 2024, 03:51:20 AM
OK - thanks heaps Slava - quite a bit to get my old grey matter around!  O:)
Title: Re: Permissions
Post by: Aleksi "Lex" Kilpinen on May 25, 2024, 03:54:09 AM
It is complex, but it is also one of my favorite features of SMF because it is very powerful and flexible.
You can use permissions in SMF in so many different ways. :)

Basics to allow access, but not allow posting is fairly easy actually now that I think about it.
Read is not actually a permission, it is a group based access setting that you can set for each board separately.
( Modify a board, you will see a list of groups allowed in. Same logic applies, a user belonging to any of the groups will get access ).
The only permissions you need to worry about, are the ones related to posting polls, topics, and replies.
Title: Re: Permissions
Post by: ColinJM on May 25, 2024, 04:20:40 AM
Quote from: Aleksi "Lex" Kilpinen on May 25, 2024, 03:54:09 AMThe only permissions you need to worry about, are the ones related to posting polls, topics, and replies.

Almost correct - I have Boards where I want members of a small group to be able to post - but no one else - but I've now figured that out thanks to you  :)
Title: Re: Permissions
Post by: ColinJM on May 25, 2024, 09:00:10 PM
Arrghhh - I thought I had resolved setting a post permission for one group on one Board - but when I take that permission of one group it applies it to all boards not just the one..... :'(
Title: Re: Permissions
Post by: Aleksi "Lex" Kilpinen on May 26, 2024, 12:15:26 AM
For one board only, you would need to create a new permission profile.

All permissions are forum wide by default, but you can create different profiles for specific boards.
Title: Re: Permissions
Post by: Illori on May 26, 2024, 05:56:33 AM
take a look at https://wiki.simplemachines.org/smf/Category:Permissions and the profiles mentioned within.
Title: Re: Permissions
Post by: ColinJM on May 26, 2024, 06:22:54 AM
Quote from: Illori on May 26, 2024, 05:56:33 AMtake a look at https://wiki.simplemachines.org/smf/Category:Permissions and the profiles mentioned within.

Thanks Illori - will do.... 8)