Hi there!
I´m looking for a way to filter views´s filters according to the group, and would like to know if you can do that. :)

Here´s the use case:
User A is an admin of the group.
User A has access to a view that allows him to list all nodes that belong to the group he´s administrating.
The view has an exposed filter that lists nodes of type X that are related to the group (using a CCK field and nodereference).
In the list appear all nodes in the system that have that CCK field, and it should appear only the nodes that the user has actually access.

Node of type X:
Title
body
Node Reference field Y (it list all node profiles of the users that has access to that group)

View Filters:
Content: Node Reference Field Y (exposed)
Node:Type (Nodes of type X)

Profiles:
All nodeprofiles of the users that belongs to a group (each user can belong only to one group), have the group context.

How it should behave:
So, when the user A access the view page, the exposed filter should list all nodes of type X that have user node profiles in their Node reference Y field.

The problem:
It list all profiles in the system, regardless if the user A has permission to access other groups.
If the user A selects a profile that doesn´t belong to their group, he will not be able to see the view result, but he will still be able to see other profiles in the exposed view list.

Is there anything I can do with this? :)

Please note that I´ve read this post (How do I limit a taxonomy dropdown exposed filter to the terms used by nodes in view results?), but I´m not a developer, and don´t know how to adapt it with nodes and not taxonomy... and I really don´t know if the solution posted there applies to my problem, anyway.

Thanks!!
Rosamunda

Comments

Rosamunda’s picture

Issue summary: View changes

Just claifying...

MustangGB’s picture

Status: Active » Closed (won't fix)