Restricting help center access to signed-in end users

Return to top

31 Comments

  • Hiedi Kysther
    Zendesk Customer Care

    HiChad Susa (Gravity CX - Zendesk Partner)

    Try putting below code at the bottom of yourstyle. cssfile

    .user-info, .nav-wrapper a.login {display:none;}

    Andthis在你的底部script.jsfile

    $(document).ready(function(){
    var userRole = HelpCenter.user.role;
    if (userRole == 'manager' || userRole == 'agent') {
    $('.user-info').show();
    }
    });

    Please note that Zendesk does not support nor guarantee custom code. If you add any customizations to your account and need assistance, you may need to reach out to your IT/Dev or try searching for a solution online.

    Hope this helps!

    0

Pleasesign into leave a comment.

Powered by Zendesk