Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Danton Brown
Directory Portlet -- Restricting to view only Community members
9 de mayo de 2008 8:29
Respuesta

Danton Brown

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 9 de mayo de 2008

Mensajes recientes

Currently working on a community for a client that needs to view a list of other community members contacts.

Poking through the 'Directory' portlet it seems as though it will display this information, but for all users on the system. Is there a way to delegate, using this portlet or another method, the visibility that a user has to that directory listing. I need to allow members of this community the ability to view the contacts of only those members that are also a member of that community.

Thanks to everyone ahead of time for assisting in this.

-Danton
Peter Hovens
RE: Directory Portlet -- Restricting to view only Community membe
30 de junio de 2008 13:56
Respuesta

Peter Hovens

Ranking: Junior Member

Mensajes: 29

Fecha de incorporación: 31 de marzo de 2008

Mensajes recientes

Hello Danton,

Did you get a solution to this? It seems weird that the directory-portlet is shown under category 'community' though showing all users in the system. I haven't been able to restrict the results to only members of the community via rules but might still be missing something here...

Thnx in advance..
Regards,
Peter
Stephane Salomon Urdy
RE: Directory Portlet -- Restricting to view only Community membe
30 de diciembre de 2008 7:51
Respuesta

Stephane Salomon Urdy

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 30 de diciembre de 2008

Mensajes recientes

Hi Guys,

I subscribed here in order to find a answer to that question, and could not find the answer.
I hope a Liferay specialists could answer this, however I have found a workaround last night near midnight, it's ugly but it works.

This is the structure:
a community -A-
organizations -1- -2- -3- belonging under this community
a bunch of users automatically affected [default associations] to the community A
the users are then affected to the organizations either -1- or -2- or -3-

I had the same pb, I could not see the credentials of the other users even though they belong to the same organization and community.
I could see their names but when clicking on the name, I had the "you don't have permissions" message.

So, after breaking my head on trying to provide additional rights to the "community member" role which would had made sense to me, I finally tried to add additional rights to the "Organization Member" role.

As the Portal Administrator user:
-Edit the "Organization Member" role
-Add Portlet Permission
Adding the [Enterprise Admin portlet with "manage user" rights: Organization->Action->"Manage Users" box]
to the Organization Member role solved the pb of users of the same Organization and community not being able to see others credentials.

This allows to see the credentials of any users in ANY organization, that might not be what we want to do, I just wanted to allow users of the same community to see each others credentials.

Hope it helped,

Kind regards,

Stephane

PS: please kindly contact me via email if you have a more elegant solution to this pb.
Stephane-DOT-urdy-AT-googlemail-DOT-com
Krati Gupta
RE: Directory Portlet -- Restricting to view only Community membe
13 de enero de 2011 3:14
Respuesta

Krati Gupta

Ranking: Regular Member

Mensajes: 113

Fecha de incorporación: 5 de diciembre de 2008

Mensajes recientes

Hi Stephen,

I had tried your solution but doesn't work for me ,please help me .
my requirement is when I search name of user through search box (ie search portlet) if will give me the name of user but when I clicked to know their details it will give me You do not have the roles required to access this portlet. .

Please help how to solve this ..emoticon
Milan Palian
RE: Directory Portlet -- Restricting to view only Community membe
29 de marzo de 2011 2:15
Respuesta

Milan Palian

Ranking: Junior Member

Mensajes: 43

Fecha de incorporación: 10 de diciembre de 2009

Mensajes recientes

Krati Gupta:

my requirement is when I search name of user through search box (ie search portlet) if will give me the name of user but when I clicked to know their details it will give me You do not have the roles required to access this portlet. .


Same here, how do we allow a community member to view the details?
Andrés Cerezo
RE: Directory Portlet -- Restricting to view only Community membe
29 de marzo de 2011 2:37
Respuesta

Andrés Cerezo

Ranking: Junior Member

Mensajes: 92

Fecha de incorporación: 11 de noviembre de 2010

Mensajes recientes

Try adding add-default-resource in liferay-portlet.xml, here you have an example


<portlet>
<portlet-name>nameofportlet</portlet-name>
<icon>/icon.png</icon>
.
.
.
<add-default-resource>true</add-default-resource>
</portlet>
David Kit
RE: Directory Portlet -- Restricting to view only Community membe
5 de julio de 2011 23:36
Respuesta

David Kit

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 3 de febrero de 2010

Mensajes recientes

I'm a little weirded out by this one as well, since the Directory was sitting in the "Community" category, I was thinking it was meant to be showing community specific information...
Adrien Duvignau
RE: Directory Portlet -- Restricting to view only Community membe
7 de diciembre de 2011 8:33
Respuesta

Adrien Duvignau

Ranking: New Member

Mensajes: 12

Fecha de incorporación: 4 de octubre de 2011

Mensajes recientes

I am trying to develop a jsp hook to get only community members ? Nobody already did it or have an idea ?
A jsp hook is it a good way ?
Thanks
Xav NYC
RE: Directory Portlet -- Restricting to view only Community membe
10 de diciembre de 2012 10:14
Respuesta

Xav NYC

Ranking: New Member

Mensajes: 22

Fecha de incorporación: 27 de septiembre de 2012

Mensajes recientes

Hi Adrien,

I'm having the same need. Did you develop that hook? Would you be willing to make it availale to the community?

The original post was in 2008, we are almost in 2013. i'm a bit surprised that this needs has not been addressed yet by the Liferay team. it seems like a pretty standard need to me.

Thanks.