![]() |
Permissions structure
I have a project I'm trying to set up but I'm not sure how to go about it.
I have a list of projects in a table ( called projects ) What I want to do is add permissions to this either by adding a field on the projects table or the users table. I want to have the following scenrios, User A can see every project except project 1 User B can only see project 2 User C can see everything I was thinking of having 2 columns in the userstable Allow Deny in these fields would be a list of project id's. any suggestions on the best way of doing this ? I was thinking of the following way Code:
if allow is empty { |
All times are GMT. The time now is 08:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|