Using categories with surveys
I'm going to simplify things a little to make it easier to understand what I'm trying to do, but basically I have four categories on my site.
A
Leader - A
B
Leader - B
All registered members are part of groups A and B, and also part of categories A and B. They have the ability to add things to these categories such as blogs, photo galleries, etc.
I want to setup the site so only Leaders can setup surveys. I want leaders of A to only be able to setup surveys for A, and leaders of B to only setup surveys for B.
The problem is that since the leaders of a are members of b and leaders of b are members of a, I run into issues with the categories that are displayed when they create a survey. They can both create surveys for the other group.
Can anyone think of a way around this? I'm not sure if there is a simple way, so I thought about doing some work with the files, but I'm not sure which ones need modified. I think it may be categorize_lists.php in the main tiki folder. Is this correct? Are there other files I would need to modify?