only display local services for admins

This commit is contained in:
Frédéric Péters 2008-12-15 15:16:56 +01:00
parent 1f0c82dfe5
commit 9bcd8ebe45
1 changed files with 6 additions and 4 deletions

View File

@ -133,10 +133,12 @@ class AlternateRootDirectory(OldRootDirectory):
'</div>'
'<div class="cdc_col2">'
'<fieldset class="cdc_connections">'
'<legend>%s</legend>' % _('Your local services')
self.get_idp_sso_list()
'</fieldset>'
if identity and identity.is_admin():
'<fieldset class="cdc_connections">'
'<legend>%s</legend>' % _('Your local services')
self.get_idp_sso_list()
'</fieldset>'
'<fieldset class="cdc_connections">'
'<legend>%s</legend>' % _('Our partners services')