Hey!
We're starting to develop a big, shiny, new website using TG1, for a
very big organization. We have some numbering code we're using to
define the hierarchy of our users. An example would be best:

A got hierarchy_code 20402,
B got hierarchy_code 20501,
C got hierarchy_code 10303,
D got hierarchy_code 2.

Numbers works like this:
1-
 |--01
 |--02
 |--03
    |--01
    |--02
    |--03 -- C belongs here
    |--...
 |--04
 |--...
2- D belongs here
 |--01
 |--02
 |--03
 |--04
    |--01
    |--02 -- A belongs here
    |--03
    |--...
 |--05
    |--01 --B belongs here
    |--...
 |--...
...

We want to be able to:
1. say that content in the website is available to hierarchy_code 2: A
and B; hierarchy_code 204: A. etc'.
2. make A be able to edit content at 20402, but D to be able to edit
content under 2????, which means he'll be able to edit A's and B's
content.

We know about TG's users and groups system, but we want preserve the
codes we're been using in our organization for years now.

What would be the best way to do it? As a separate module that reads
the code? as a table inside the database? How can we define the model?

Any hints would be greatly appreciated.

Yo'av.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to