Hi everybody.

This is the first time a try to build a complete and functional portal using drupal.
I have been able to do quite a lot of things without any help, but I have a problem I can't seem to find any solution for.

So here it is:

On my portal, there a clients and managers. The clients and managers use it to exchange and work on content.
Now the clients should be able to view and contact the managers, and of course exchange content with them.

But clients should absolutely not be able to see other clients. They shouldn't see their content, this is ok. But they also shouldn't be able to view there profiles or contact each other. The usernames shouldn't even come up in listings and in autocomplete boxes etc..

Now I thought about using profiles as nodes, but I would like to avoid that if possible.

What I am looking for is a quick hack to the profile module or some direction on a fast way to achieve this.

The user roles will not change so I don't need a complete solution, I would be happy to just hard code this rule somewhere.. but I have no idea where as this is the first time I user drupal.

I am a php developer so coding is not the problem.. the problem Is I don't have enough time to understand how the drupal API works.

I would be very grateful if somebody can put me on the right path.

Thanks,

Philip

Comments

philip.cole’s picture

Sorry to bump this up. Does no one have any ideas? Have I explained this wrong?
I think that having a better control over who has access to profiles based on roles would be a good idea for a module.

thanks,

Philip

jweberg’s picture

Hi Philip,

I understand your pain. I am looking for the same thing. I've actually tried creating it using a profile node, but it is not working the way I would like. So basically what we are looking for is a way to restrict a role from being able to see a specific roles account page. I'm gonna start digging into the api's.

I'm sort of refreshing myself on programming. I am working on one module, but other than that it's be about 10 years when I was programming in C++. Maybe we can write and co-maintain a module to do this. I'm also going to check with Michelle and see if this is something that could be rolled into APK.

Justin

jaron’s picture

Hi all,

I'm hoping someone may have come to some solution for this. I could really use the exact functionality you are discussing. Any suggestions? (In Drupal 6 by the way...)

Thanks,
Jaron.