Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: guider - helmikuu 08, 2005, 11:36:26 AP

Otsikko: Permissaaaah
Kirjoitti: guider - helmikuu 08, 2005, 11:36:26 AP
I've read tens of topics on the matters, but each case seems to be too individual to get a straight answer from. I'm asking a very simple question, perhaps there's a really simple answer for it. I haven't got a clue anyways.

Let's say I'd like the group "Junior Member" to be unable to look at the statistics in their profile. I'd set that permissions to the 2nd option in admin (the middle dot on the permissions list). Now when I login as a Junior Member I can still see those stats!! What does that 2nd option exactly do and how do I really force permissions on groups?

If you need any more information I'd be happy to provide it, just don't want to flood you with needless information.
Otsikko: Re: Permissaaaah
Kirjoitti: Kindred - helmikuu 08, 2005, 12:22:14 IP
Permissions:

Allow
Disallow
Deny


Allow: Obviously, if this is set, the user/membergroup has permission to do the action (unless denied)

Disallow: If this is set, the user/membergroup does NOT have permission to do this action...  UNLESS this action is permitted by some OTHER membergroup.

Deny:  This action is forbidden to this user/membergroup. Regardless of any allow settings, if the user belongs to any membergroup with DENY for the action, they are unable to do it.



So: 
Allow checks to see if the action is not denied by some other group. If not denied... allow.

Disallow checks to see if the action is allowed by some other group. If allowed and not denied (as above)... allow. If not allowed by another group, deny.

Deny prevents the group from ever doing this action, regardless of any other settings.
Otsikko: Re: Permissaaaah
Kirjoitti: guider - helmikuu 09, 2005, 09:30:40 AP
In Adminpanel > Edit permissions > 'Starting Member' I set Disallow for 'Request notification on replies'. All boards are set to Global.

When logging in as a regular user (that has 'Starting Member' under his name, I can still request notification. What's up?
Otsikko: Re: Permissaaaah
Kirjoitti: Elissen - helmikuu 09, 2005, 09:43:21 AP
because one of the other non-posting groups probably still gives him access to it. Try the deny option or also disallow it for groups like ungrouped member.

Please remember that if you use deny that a global moderator who is a junior member (yeah, just an example) also won't be able to view his own stats.

Edit: I think your looking for the permission 'View profile summary and stats'
Otsikko: Re: Permissaaaah
Kirjoitti: guider - helmikuu 09, 2005, 10:03:07 AP
Thats odd, the 'Ungrouped-members' had effect on a members that ís grouped indeed.
Otsikko: Re: Permissaaaah
Kirjoitti: Elissen - helmikuu 09, 2005, 10:09:22 AP
Well, it's by design. There are two kind of groups
- post based groups (like junior member)
- normal or non-post based groups

ungrouped-members fall under de normal/non-post based groups. A member is in it unless you have assigned him to another non-post based group. You might also read it as "normal registered member".
A member will no longer be a member of the "ungrouped-members"-group when he's assigned to a group like "paying members", "regulars" or "global moderator".

I hope this makes any sense :)
Otsikko: Re: Permissaaaah
Kirjoitti: guider - helmikuu 09, 2005, 02:39:45 IP
It's a very messy system I think. Thx for helping out though.