Welcome, Guest. Please Login or Register.
November 30, 2024, 04:20:50 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  User's with multiple positions/category access by member « previous next »
Pages: [1] Reply Ignore Print
Author Topic: User's with multiple positions/category access by member  (Read 350 times)
mikeyj42
Noobie
*
Posts: 7


I'm a llama!

User's with multiple positions/category access by member
« on: January 15, 2003, 02:50:44 PM »
Reply with quote

Hi,
I have a board that needs to limit access to certain categories  to certain users, unfortuanately, simply setting positions won't solve this.

Is there a way to give a person multiple positions? Or to set category access by member? Are there any mods for this?

For example, I"d like person 1 to be able to access boards A, B, and C, person 2 to be able to access only  board A and B, and person 3 to be able to access only boards A and C.  To be able to do this I'd have to give every user permission to every board.

Any help would be greatly appreciated.
-Mike
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:User's with multiple positions/category access by member
« Reply #1 on: January 15, 2003, 03:13:07 PM »
Reply with quote

You won't see this type of user permission levels until version 2 is released at which point this very thing will be possible.
Logged

mikeyj42
Noobie
*
Posts: 7


I'm a llama!

Re:User's with multiple positions/category access by member
« Reply #2 on: January 15, 2003, 03:59:12 PM »
Reply with quote

Thanks for the info,  its good to know its in the works.

Of course, I could just make every user a group and add the user to the permissions. That will just get out of control.
Any work arounds you could think of?

thanks again
-Mike
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:User's with multiple positions/category access by member
« Reply #3 on: January 15, 2003, 08:01:03 PM »
Reply with quote

You could probably do this by storing users membergroups with commas between them and then just explode the contents when checking access. It would be a hack but it should work.
Logged
mikeyj42
Noobie
*
Posts: 7


I'm a llama!

Re:User's with multiple positions/category access by member
« Reply #4 on: January 16, 2003, 12:01:29 AM »
Reply with quote

Quote from: Gobalopper on January 15, 2003, 08:01:03 PMYou could probably do this by storing users membergroups with commas between them and then just explode the contents when checking access. It would be a hack but it should work.

Hey that's  a great idea! Any idea where the which file controls that?  Yabbse really needs a developer section for all this. Or at least well documented/commented code?  This would be a good project, maybe for the 1.5.1 release. Well documented code is essential for open-source. It encourages improvement by developer's. Every time I look to make changes, I'm a bit sketchy on doing it b/c its hard to see what's what when you haven't seen a comment in 50 lines. Where can this recommendation be made?

Thanks for the help!!
-Mike
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:User's with multiple positions/category access by member
« Reply #5 on: January 16, 2003, 02:07:45 AM »
Reply with quote

It is well documented in some parts, and the stuff is stored in SQL...

-[Unknown]
Logged
mikeyj42
Noobie
*
Posts: 7


I'm a llama!

Re:User's with multiple positions/category access by member
« Reply #6 on: January 16, 2003, 03:51:27 AM »
Reply with quote

I'm going to work on commenting out/documenting the php.
really all function calls, and  variables should be documented at least the first time they appear in code. It just would help.
All the sql is passed in strings, so it's there in the php. No stored procedures and that. Once I get going, I'll be sure to share :)
thanks!
-Mike
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  User's with multiple positions/category access by member « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.035 seconds with 20 queries.