Friday 13 June 2003 1:22:55 am
Hi Bruce. Thanks for the answer, but you have really confused me. Where you say "Class A acts like a "folder" having child content of class B", that is exactly what I want, but I don't understand your reasoning.
My understanding is as follows:
1. Create class A and class B. Class B will have a "related object" attribute that will be used to make the link to A.
2. In the admin interface, create a new role called ABhierarchy for arguments' sake.
3. The role would make the following restriction:
- Module: content (you can't do all of them which makes me wonder why there is an 'All' option in the first place).
- Function: create
- Class: B
- Section: Any
- Parent Class: A 4. Apply this role to all of your users? The problem with this approach is that the restriction is placed on the user, not on the data itself. I realise that the two are somewhat equivalent from a practical point of view, but it is possible that a mis-configured user could make a big mess. If you mean something else, please explain. I am getting horribly stuck here. I would also like to have a data structure where an arbitrary number of objects of Class B can be created as children of object A. Thanks Tristan
|