diff --git a/codebase/config/sync/block.block.idcui_account_menu.yml b/codebase/config/sync/block.block.idcui_account_menu.yml index 938f7512e..75c51f423 100644 --- a/codebase/config/sync/block.block.idcui_account_menu.yml +++ b/codebase/config/sync/block.block.idcui_account_menu.yml @@ -24,4 +24,15 @@ settings: level: 1 depth: 1 expand_all_items: false -visibility: { } +visibility: + user_role: + id: user_role + roles: + administrator: administrator + global_admin: global_admin + collection_level_admin: collection_level_admin + fedoraadmin: fedoraadmin + authenticated: authenticated + negate: false + context_mapping: + user: '@user.current_user_context:current_user' diff --git a/codebase/config/sync/block.block.idcui_login.yml b/codebase/config/sync/block.block.idcui_login.yml index c295f0ba8..8543668c6 100644 --- a/codebase/config/sync/block.block.idcui_login.yml +++ b/codebase/config/sync/block.block.idcui_login.yml @@ -18,5 +18,15 @@ settings: id: user_login_block label: 'User login' label_display: visible - provider: user -visibility: { } +visibility: + user_role: + id: user_role + roles: + administrator: administrator + global_admin: global_admin + collection_level_admin: collection_level_admin + fedoraadmin: fedoraadmin + authenticated: authenticated + negate: false + context_mapping: + user: '@user.current_user_context:current_user' diff --git a/codebase/config/sync/simplesamlphp_auth.settings.yml b/codebase/config/sync/simplesamlphp_auth.settings.yml index 2bd04270d..e9de89859 100644 --- a/codebase/config/sync/simplesamlphp_auth.settings.yml +++ b/codebase/config/sync/simplesamlphp_auth.settings.yml @@ -26,6 +26,8 @@ user_register_original: visitors_admin_approval sync: mail: true user_name: true +path: + alias: '/jhlogin' autoenablesaml: false debug: false secure: false