Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove log in link for users who are not signed in and create alias f… #327

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion codebase/config/sync/block.block.idcui_account_menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
14 changes: 12 additions & 2 deletions codebase/config/sync/block.block.idcui_login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 2 additions & 0 deletions codebase/config/sync/simplesamlphp_auth.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down