vb.org Archive

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

kurtbarker 06-01-2006 11:41 PM

Understanding Permissions
 
Hey guyz,

Just wanted to check that I understand the operation of permissions correctly...

If a primary usergroup permission is set to no, but that same permission in a secondary usergroup is set to yes. will the outcome be yes? or no?

If a user is in 1 primary usergroup, and 3 secondaries:
Does it matter is the primary permission is no, 2 of the secondarys are no, but 1 secondary is yes? will vBulletin treat it as: permission = yes

Sorry if this seems confusing but my permissions are really messy and I thinking of only having 1 baseline permission, rather than setting permissions in all the usergroups, but I gotta see how it reacts to yes and no for the same item...

Thanks guyz

peterska2 06-01-2006 11:48 PM

A yes for a permission in any of the users usergroups overrides any permissions that are no, so if there are yes's and no's regardless of how many of each, the result will always be yes

calorie 06-01-2006 11:49 PM

Assuming 'Allow Users to have Member Groups' is set to yes. :)

kurtbarker 06-01-2006 11:50 PM

thanks guyz

and Kerry-Anne, you seem to be everywhere in this place ;)

peterska2 06-01-2006 11:53 PM

Quote:

Originally Posted by kurtbarker
thanks guyz

and Kerry-Anne, you seem to be everywhere in this place ;)

Sounds about right, I just wander about and answer questions when I can, and code stuff when I get time, and if it wasn't for the fact that the site isn't a literal physical entity, I'd probably have moved in a long time ago. (Saves paying rent, lol)


All times are GMT. The time now is 03:24 PM.

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.01134 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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