[xwiki-users] "New" User Directory Application
Does the *new* User Directory Application <http://extensions.xwiki.org/xwiki/bin/view/Extension/User+Directory+Application> also have the ability to remove the "User ID" column? -- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460.h... Sent from the XWiki- Users mailing list archive at Nabble.com.
No, but the issue is reported http://jira.xwiki.org/browse/XWIKI-9168 Thanks, Caty On Tue, May 28, 2013 at 4:03 PM, Hamster <teunham@hotmail.com> wrote:
Does the *new* User Directory Application < http://extensions.xwiki.org/xwiki/bin/view/Extension/User+Directory+Applicat...
also have the ability to remove the "User ID" column?
-- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460.h... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Hello People, How are you? I am new in Xwiki application and I have a doubt. Is there any way to show a specific part of a page just to some group? For example I have a page listing all our servers in our datacenter but the part with the user and pass I want to show just to the administrator IT group. Is there any macro or script to do it? Thank you! Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867
Easiest solution you can put them in another separate page and change the rights to that page On 29 May 2013 17:10, Danilo Amaral de Oliveira < danilo.oliveira@energisa.com.br> wrote:
Hello People,
How are you?
I am new in Xwiki application and I have a doubt. Is there any way to show a specific part of a page just to some group?
For example I have a page listing all our servers in our datacenter but the part with the user and pass I want to show just to the administrator IT group.
Is there any macro or script to do it?
Thank you!
Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
On Wed, May 29, 2013 at 7:10 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Hello People,
How are you?
I am new in Xwiki application and I have a doubt. Is there any way to show a specific part of a page just to some group?
For example I have a page listing all our servers in our datacenter but the part with the user and pass I want to show just to the administrator IT group.
Is there any macro or script to do it?
{{velocity}} ... #if ($xwiki.user.isUserInGroup('XWiki.ITAdminGroup')) ## Display protected information here. #end ... {{/velocity}} Hope this helps, Marius
Thank you!
Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Marius, That's a very dangerous solution. Anybody with the rights to edit that page can take a look at the source and see the velocity syntax, so if he adds a table with usernames and passwords, everybody can still see them in the editor. It will look right when you VIEW the page, but if you EDIT the page. HTH -- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460p7... Sent from the XWiki- Users mailing list archive at Nabble.com.
A safer way would be to use the Include macro, that way the contents will not be visible in the editor. If the user does not have the right to view a page, then the Include macro will throw an exception. You can use the "section" to only include a portion of the page (instead of the complete page) For example: {{velocity}} #if ($xwiki.user.isUserInGroup('XWiki.NameOfGroup')) {{include document="Space.Page" section="HNameOfSection"/}} #end {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460p7... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Thu, May 30, 2013 at 11:10 AM, Hamster <teunham@hotmail.com> wrote:
Marius,
That's a very dangerous solution.
Anybody with the rights to edit that page can take a look at the source and see the velocity syntax, so if he adds a table with usernames and passwords, everybody can still see them in the editor. It will look right when you VIEW the page, but if you EDIT the page.
Sure, and I wrote "Display protected ...". Putting the protected information directly there is indeed bad. Thanks, Marius
HTH
-- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460p7... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Thank you for your suggestion! I have chosen the simplest one, create a separated page. I suppose that this solution is more easy to administrate the control access and maintain the refreshed information about the serves, we are constantly changing our application server information. tks -----Mensagem original----- De: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Marius Dumitru Florea Enviada em: quinta-feira, 30 de maio de 2013 05:48 Para: XWiki Users Assunto: Re: [xwiki-users] Page Permissions On Thu, May 30, 2013 at 11:10 AM, Hamster <teunham@hotmail.com> wrote:
Marius,
That's a very dangerous solution.
Anybody with the rights to edit that page can take a look at the source and see the velocity syntax, so if he adds a table with usernames and passwords, everybody can still see them in the editor. It will look right when you VIEW the page, but if you EDIT the page.
Sure, and I wrote "Display protected ...". Putting the protected information directly there is indeed bad. Thanks, Marius
HTH
-- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp758 5460p7585500.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Belkhiria Hamza Yazid -
Danilo Amaral de Oliveira -
Ecaterina Moraru (Valica) -
Hamster -
Marius Dumitru Florea