ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Burke Knight on June 08, 2015, 09:54:05 pm

Title: Profile Permissions not disabling when unchecked
Post by: Burke Knight on June 08, 2015, 09:54:05 pm
It seems if set profile permissions to not allow edits, (For post groups, and yes, it's set to do post groups permissions. :) ) they do not have any effect.

I have tried unchecking:
Edit additional profile settings

But they still can edit all listed:
QuoteAdditional profile settings include settings for avatars, theme preferences, notifications and Personal Messages.

Just tried the account settings permissions, but still can edit, even if unchecked.
Title: Re: Profile Permissions not disabling when unchecked
Post by: emanuele on June 09, 2015, 02:51:32 am
Post groups (like in our ancestor) are secondary groups, if your primary (or any other secondary) group grants "profile edit" permission, then the member will have the permission (unless you enable deny permission and deny the permission ;)).
Could it be that the issue?
Title: Re: Profile Permissions not disabling when unchecked
Post by: Burke Knight on June 09, 2015, 06:56:34 am
No, as the account I had tested with, was not in any group.
He's now in 2, but I made a test account to work on this.
I can PM you the test account info.
Title: Re: Profile Permissions not disabling when unchecked
Post by: emanuele on June 09, 2015, 07:37:45 am
That means they are implicitly inheriting the "Regular Members" permissions. ;)
Title: Re: Profile Permissions not disabling when unchecked
Post by: Burke Knight on June 09, 2015, 09:03:26 am
Yet, before, it used to override the Regular Member group permissions.
Unless I have to now uncheck for regular members, and check for all post groups except the one.
That's doable, I guess. :)
Title: Re: Profile Permissions not disabling when unchecked
Post by: emanuele on June 09, 2015, 09:07:48 am
Nope, never worked like that. ;)
Permissions are always been additive (unless deny is on), so if you have a permission in one group is enough to give you that permission.
Also, "Regular members" has always been the "default group for those without any primary group" (yeah, it's terribly confusing, I always hated that).

Yes, the theory is that you uncheck for RG and check for all post-based, but if you want to make just one group different, it may be easier to enable the "deny" and actually deny groups with less than 50 posts. ;)
Title: Re: Profile Permissions not disabling when unchecked
Post by: Burke Knight on June 09, 2015, 09:34:39 am
Ahhh... So deny those permissions just for the Probation Period group...
I'll give that a try. :)

(http://www.webmastershaven.net/smileys/default/edit.gif) Works like a charm. Thank you. :)