Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Hierarchy
Message
From
04/03/2004 08:21:08
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00883041
Message ID:
00883043
Views:
12
>>Our database system requires a hierarchy of users like so:
A
/ \
B C
/ \ / \
d e f g
/\
h i
User B can see/edit records allocated to B, d, e, h and i, but cant see any others. User d can see records allocated to them, h and i only, and so on.
How would you set this up in a database? <<

How about a simple "user level" 1-9

Any user can edit records where the user=himself or the userlevel
so A=level 9, B,C=level 8, defg=level 7, hi=level 6 and so on?


Gary.
Previous
Reply
Map
View

Click here to load this message in the networking platform