Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: glennk - tammikuu 24, 2009, 07:40:15 IP

Otsikko: How can this be ?
Kirjoitti: glennk - tammikuu 24, 2009, 07:40:15 IP
I set up a membersgroup for 0-10 posts. I gave it hardly any permissions and denied it access to a lot of my forum boards.

I then logged in as a test user with only 1 post. I seem to have full permissions and can see all the boards I am not supposed to see.

Whats gone wrong ? I have rechecked permissions for this group and they appear as limited as I made them.
Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 24, 2009, 07:48:01 IP
Most likely, the Regular Member membergroup is giving the permissions.

Post count groups are designed to give EXTRA permissions above and beyond the regular member group, so if you want to limit access to your forum based on posts, then you will need to first remove access for the regular member membergroup, and then add permissions based on post count.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 24, 2009, 07:58:02 IP
Hi there,

The membersgroup in question is not based off regular members.

I ticked this box in permission settings "Enable permissions for post count based groups"

Its on its own set of limited permissions. But its not working.

Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 24, 2009, 08:17:48 IP
Post count groups are ADDITIONAL membergroups.... everyone is a part of at least one normal membergroup.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 24, 2009, 08:24:12 IP
Sorry. Please forgive me. Does this mean I have done it wrong ? I am pretty slow at grasping these things. Please stick with me as I really need your help.

My permissions are as shown below. I was assuming that anyone in the last members group - "dingle" would only have the 20 permisions I have set. Also I set the membersgroup only to see a limited number of boards.


Guests (?)     n/a      8     Modify     

Regular Members (?)
Inherited Groups: "Newbie", "Dangler", "Angler", "Top Rod", "Master

Angler"    365    50    Modify    

Administrator (?)    1    (all)       

Global Moderator    4    77    Modify    

Moderator (?)    n/a    33    Modify    

Dingle    285    20    Modify
Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 24, 2009, 08:29:33 IP
Correct.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 24, 2009, 08:31:01 IP
Correct - Ive got it wrong or correct the dingle group should only have 20 permissions ?
Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 24, 2009, 08:48:47 IP
The dingle group only has 20 permissions.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 25, 2009, 04:08:40 AP
When I log in as my test user, who is in the dingle group I have all the permissions I have been denied - A lot more than 20. IS this a bug in the system ?
Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 25, 2009, 05:05:31 AP
With your admin account, you can go to any user's profile and view their permissions, and it will tell you what membergroup is giving what permissions, take a look at that and see what group is giving the permissions.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 25, 2009, 07:47:02 AP
Ok, Ive taken a look at my test account permissions. Mostly it says the permissions are being taken from regular members. How can this be. working on the information I supplied from above which shows dingle group to be on a different set of only 20 permissions ? It clearly states that dingle is not a group inheriting permissions from regular members

Regular Members (?)
Inherited Groups: "Newbie", "Dangler", "Angler", "Top Rod", "Master

Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 25, 2009, 07:51:36 AP
In your test account's Account Settings, is Dingle an additional group, or is it the primary group?  It would need to be the primary.
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 25, 2009, 08:21:02 AP
There is no primary members group set for this test user and dingle is not an option for a primary members group in his profile. The only primary members group available are : Admin and Global mod and the same 2 are available for additonal membersgroups.

Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 25, 2009, 10:48:09 AP
Can you PM me an admin account on your board to use and see whats going on??
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 25, 2009, 11:38:13 AP
PM sent. Thanks for your help.  No doubt it will be a real basic error on my part. Hope Im not wasting your time.
Otsikko: Re: How can this be ?
Kirjoitti: SlammedDime - tammikuu 25, 2009, 12:37:15 IP
Ok, I think I may have confused you, so I'll kind of start over.

On the 'Permissions' screen, anyone who is not a special user (ie: an admin, a global mod, or put into a specific membergroup), has the permissions of the 'Regular Member'.  On your permissions screen, you can see that this group has 50 permissions enabled.

If you want your post count groups to control permissions, then you will want to heavily restrict the permissions of the Regular Member almost down to what you want every member to be able to do, then add permissions to your post count based groups for whatever extra you want.

For particular boards, you'll want to go into edit those boards and for any boards you want controlled by post count based groups, you'll want to UNCHECK the box next to 'Regular Members'

Follow?
Otsikko: Re: How can this be ?
Kirjoitti: glennk - tammikuu 26, 2009, 07:18:28 AP
Yes, I think so. Thats sounds good. Ill give it a try and let you know how I come on. Thanks for taking the time to help me. I would have been stuck forever as this is quite confusing.