vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Permissions Issue (https://vborg.vbsupport.ru/showthread.php?t=213639)

Mum 05-13-2009 08:56 PM

Permissions Issue
 
I have a trouble maker group - that is under moderation. This is a primary group.

I then have a secondary group - we'll call it group A.

I have a layout as such

General forum
-- Forum B

If they post in general forum they will get moderated.

However Group A has permission to post in Forum B - they can just post there with no moderation.

How can i fix this? I have set it that only Admins and Group A can see Forum B - that is the purpose of the secondary group, however people in the trouble maker group still need to be moderated.

BlueNinjaGo 05-14-2009 01:17 AM

Ok, I think I see what you're trying to say.

Try this:
3 usergroups (2 primary, 1 secondary)
Group1 - Always moderated
Group2 - Never Moderated
Secondary Group - Always Moderated and can see board B

Since secondary groups can't take away permissions (AFAIK), then Group 2 will not be affected, while Group1 will still always be moderated regardless of the board they're on.

Mum 05-14-2009 01:25 AM

OK - i think i already have what you are saying. Which isn't working.

Group1 (Troublemakers) - always moderated
Group2 (registered members - never moderated
Secondary group (books) - is currently not moderated - and can see Forum/board B.

Problem with this is if i change the books group to be moderated - then i will have to moderate registered members posts in there as well - right? i only want to moderated the troublemakers.

BlueNinjaGo 05-14-2009 01:30 AM

Like I said, it shouldn't take away permissions... so group 2 should remain unaffected...

Althought it takes 2 seconds to change it and test it...

(If you have that many trouble makers, check out the miserable users hack)

Lynne 05-14-2009 02:53 AM

A "Yes" permission always takes precendence over a "No" permission. In this case, the permission is "Follow Forum Moderation Rules" and a Yes means they are not moderated. So, if a user belongs to your Secondary group(books - not moderated), and Group 1 (Troublemakers - moderated) then they won't be moderated.

You can change this in the Forum Permissions > find forum (board B) > find usergroup (books) to Edit and set it to be moderated.

Mum 05-14-2009 03:17 AM

but that will change everyone in usergroup books, to be moderated in board b - regardless of if their primary group is registered, or troublemaker?

--------------- Added [DATE]1242278277[/DATE] at [TIME]1242278277[/TIME] ---------------

I don't want to moderate everyone in books, just those that are in books, where their primary group is troublemakers.

--------------- Added [DATE]1242283211[/DATE] at [TIME]1242283211[/TIME] ---------------

Quote:

Originally Posted by BlueNinjaGo (Post 1810443)
Ok, I think I see what you're trying to say.

Try this:
3 usergroups (2 primary, 1 secondary)
Group1 - Always moderated
Group2 - Never Moderated
Secondary Group - Always Moderated and can see board B

Since secondary groups can't take away permissions (AFAIK), then Group 2 will not be affected, while Group1 will still always be moderated regardless of the board they're on.

well i set it as you suggested - however, that still won't work.

Quote:

Originally Posted by Lynne (Post 1810478)
A "Yes" permission always takes precendence over a "No" permission. In this case, the permission is "Follow Forum Moderation Rules" and a Yes means they are not moderated. So, if a user belongs to your Secondary group(books - not moderated), and Group 1 (Troublemakers - moderated) then they won't be moderated.

You can change this in the Forum Permissions > find forum (board B) > find usergroup (books) to Edit and set it to be moderated.

I tried this - but still nothing.

Primary groups is either registered (not moderated), or troublemakers (moderated).

Secondary group has no persmission for anything except to give them access to forum A.

If i change the forum permissions then EVERYONE in secondary group can either post or is moderated - it doesn't use the primary group setting.

Lynne 05-14-2009 02:29 PM

If they belong to a primary group that is NOT moderated ("Follow Forum Moderation Rules" is Yes) and they are in a secondary group that IS moderated ("Follow Forum Moderation Rules" is No), then they are NOT moderated (Yes beats out the No).

If they belong to a primary group that IS moderated ("Follow Forum Moderation Rules" is No) and they are in a secondary group that IS moderated ("Follow Forum Moderation Rules" is No), then they ARE moderated (No and No equals No).

Mum 05-14-2009 07:41 PM

The primary group IS moderated - the secondary group IS moderated - but then ALL people in the secondary group are moderated - not just those in the primary group that IS moderated.

Those that are in the primary group that is NOT moderated, are in the secondary group that IS moderated, but then they are also moderated. I have checked this several times.

Lynne 05-14-2009 08:07 PM

I'm not sure what else to suggest because I tested this on my test site and it worked as I wrote it. I had my user in a primary group, not moderated, and put him in a moderated secondary group and he could post just fine. I changed him to a moderated primary group and then his posts were moderated.

Mum 05-14-2009 11:55 PM

Tried again just to be sure, but it doesn't work. Not sure what else to do.


All times are GMT. The time now is 10:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02759 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete