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=154117)

tmcnicho 08-02-2007 04:49 PM

Understanding Permissions
 
Ok...

I've got a grip on permissions now, but I'm getting frustrated trying to get what I want accomplished.

Here's my board setup:

Vendora A's Category
  • Employee 1
  • Employee 2
  • Employee 3

Vendor B's Category
  • Employee 1
  • Employee 2
  • Employee 3

What I want, is for each logins for each vendor, to see all forums in their category. Employees should only be able to see their own forums in each category, and managers should be able to see everything across the board.

So far what I have done is create a usergroup for each vendor. I then created a group for all employees. I then created one for each employee (there are only like 10), so that if say, employee 1 was covering for employee 2 I could add employee 1 to employee 2's group and give them access that way. I have also created a usergroup for managers.

So far I'm accomplishing what I want thru forum permissions but its so much manual work. So where I hit my snags are in the way permissions cascade and when new usergroups are created. What I'm doing currently, is to select say the Vendor A Category, and click on "Deny All". I then set the employees usergroup, the managers usergroup, and the vendors usergroup to use default usergroup permissions. Then for each forum underneath, I reapply the deny all, and set the vendors and managers usergroups to use default (so they inherit from the category) and then on then finally utilize the usergroup assigned just the employee, giving them "allow" access.

This scheme produces the affect I want, however... I hit a lot of work if say I, create a new usergroup, because now I have to go down and deny on every, single, forum.

Right now its not a big deal, but eventually I'll have 20 vendors, with 10 forums in each, thats 200 times I have to reset permissions.

I have this gut feeling I'm going about this all wrong, if someone could help me out, I'd appreciate it!

Tom

LordDB 08-02-2007 06:50 PM

As far as I'm aware, your procedure is the norm, and there's no quick fix in this regard, sadly!

What business are you in?

tmcnicho 08-02-2007 07:01 PM

the business is manufacturing and selling collectibles...

I'm thinking though, that if i edit the default permissions for those groups to nearly no access it should basically give my deny all across the board, and when new usergroups are added, as long as they don't give more rights by default, it should keep people out...

hrmmm... that might work :)

the only problem is that silly registered users group... I'll have to deny read forum permissions to it to pull this off


All times are GMT. The time now is 02:18 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.00980 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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