Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Hierarchy
Message
De
04/03/2004 08:21:08
 
 
À
04/03/2004 08:16:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00883041
Message ID:
00883043
Vues:
13
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform