vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Membership to multiple usergroups and conflicting permissions (https://vborg.vbsupport.ru/showthread.php?t=234717)

nasko 02-01-2010 02:30 PM

Membership to multiple usergroups and conflicting permissions
 
I've read the part in the manual about that, but I still don't get it.

A user is a member of 2 usergroups.
The primary allows him to post in a specific forum using forum permissions.
The additional does not allow him to post in the same forum.
The access masks for that users are set to default.

The manual states that YES always overrides NO. Why is it then he can't post in the forum?

Thank you.

Digital Jedi 02-01-2010 09:09 PM

Yes overrides No and a smaller number of permissions will override the lesser. Does he have more YES permissions in his Primary Usergroup?

Marco van Herwaarden 02-02-2010 10:01 AM

If any of his usergroups has permission to post in the forum, then he should be able to. But make sure you have ticked can have membergroups for his primairy usergroup.

Quote:

Allow Users to have Member Groups (Sets whether or not permissions from the user's member (secondary) user group memberships are inherited or not)

nasko 02-06-2010 01:27 PM

Another problem: a single user is a member of a newly created usergroup (his primary and only usergroup). The idea of the usergroup is to sent his posts to moderation queue, which is applied to a number of forums only (this is set with forum permissions).
The problem is: he gets no permission everywhere on the board
I've checked his usergroup permissions (can view forum is YES), forum permissions (can view forum is YES) and access masks (all is default) and all seems fine.

Is it a problem that he is not a member of his previous primary group Registered Users?
It is beyond me what causes the problem. Please help.

nasko 02-09-2010 03:33 PM

Anyone please. I can't think of any resolution to the problem above. And it looks so stupid.

I don't know if that is related, but when the user is in the troubled usergroup (no access at all) he gets an error on top of the page:

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/vhosts/domain/httpdocs/includes/functions.php on line 724

nasko 03-01-2010 02:29 PM

Anyone?

Marco van Herwaarden 03-02-2010 08:38 AM

I would double check the permissions, because if his usergroup allows access he should be able to browse the forums.

The error message is most likely from a modification.

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

ChopSuey 03-02-2010 11:21 AM

Its not from a modification i have had this problem on one of my boards before. I'd try ask over at vb.com


All times are GMT. The time now is 06:15 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.02256 seconds
  • Memory Usage 1,723KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete