'Manage OpenIDs for user'

@web.expose
@web.require_login('manage    OpenIDs')
def openid_manage(self, trans, **kwd):

    if (not trans.app.config.enable_openid):
        return trans.show_error_message('OpenID    authentication    is    not    enabled    in    this    instance    of    Galaxy')
    use_panels = kwd.get('use_panels', False)
    if ('operation' in kwd):
        operation = kwd['operation'].lower()
        if (operation == 'delete'):
            return trans.response.send_redirect(url_for(controller='user', action='openid_disassociate', use_panels=use_panels, id=kwd['id']))
    kwd['redirect'] = kwd.get('redirect', url_for(controller='user', action='openid_manage', use_panels=True)).strip()
    kwd['openid_providers'] = trans.app.openid_providers
    return self.user_openid_grid(trans, **kwd)
