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

Terminology #304

Merged
merged 7 commits into from
Dec 1, 2024
Merged
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
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OpenConext-profile
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/OpenConext/OpenConext-profile/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/OpenConext/OpenConext-profile/?branch=develop)

OpenConext Profile can present a logged in user with an overview of all the
attributes their IdP provides, a list of services they have logged in to
attributes their IdP provides, a list of applications they have logged in to
and any other information that is known about the user.

It can be used for informational purposes, to provide users insight into what
Expand Down Expand Up @@ -70,9 +70,9 @@ Make sure to fill all parameters, also when the `user_lifecycle_enabled` toggle
See the User Lifecycle project on [GitHub](https://github.com/OpenConext/OpenConext-user-lifecycle) for more information.

## EngineBlock consent removal support
In order to allow user to retract consent for a given service. You can enable the remove consent feature in the
`parameters.yaml`. By setting `remove_consent_enabled` to `true`, every service in the 'my services' page will have a
delete button. Clicking this button will retract consent for only that service.
In order to allow user to retract consent for a given application. You can enable the remove consent feature in the
`parameters.yaml`. By setting `remove_consent_enabled` to `true`, every application in the 'my applications' page will have a
delete button. Clicking this button will retract consent for only that application.

In order for this feature to work, you need to have an EngineBlock instance that supports this feature. See the
EngineBlock docs for more information on enabling the feature on the EngineBlock Api.
Expand Down Expand Up @@ -138,7 +138,7 @@ In your translation file (php based in this case)
'suite_name' => 'Unseen university',
'organisation_noun' => 'library',
]
'introduction' => 'With %suiteName% you login with all different services used by your %organisationNoun%';
'introduction' => 'With %suiteName% you log in with all different applications used by your %organisationNoun%';
```

In your twig template:
Expand All @@ -148,7 +148,7 @@ In your twig template:

Results in the following translation

`With Unseen university you login with all different services used by your library`
`With Unseen university you log in with all different applications used by your library`


## Common tasks
Expand Down Expand Up @@ -177,19 +177,19 @@ In EngineBlock ARP, attributes can be derived from a source other than the IdP.
the IdP is configured. Profile will not (yet) attempt to retrieve the value for that attribute. But will show only a
summation of the attribute names for each given source.

When a new source is added in the Service Registry (or Manage) it must also be added to Profile.
When a new source is added in Manage it must also be added to Profile.
1. Add translation entry in `translations.html.twig`. At the bottom of the file:
```twig
{{ 'profile.table.source_description.voot'|trans }}
{{ 'profile.table.source_description.orcid'|trans }}
{{ 'profile.table.source_description.sab'|trans }}

{# Add your new source here, make sure the source name complies with the sourcename specified in the service registry. #}
{# Add your new source here, make sure the source name complies with the sourcename specified in Manage. #}
```
2. Extract the new translation and translate them in the available `messages.LANG.yml` translation files.
3. Done.

To test your change. Modify one of the SP's already present in the 'My Services' overview with the newly added source.
To test your change. Modify one of the SP's already present in the 'My Applications' overview with the newly added source.
Do this by changing the source of one of the attributes to the newly added source. You might need to add the source to
the SR/Manage configuration first.

Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin: 0;
}

/* My Services */
/* My Applications */
.no-js .service-details-state-toggle {
cursor: default;
}
Expand Down
3,802 changes: 3,802 additions & 0 deletions assets/images/SURFconext Flow.ai

Large diffs are not rendered by default.

Binary file modified assets/images/profile_home_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/profile_home_nl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 33 additions & 33 deletions translations/messages.en.php

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions translations/messages.nl.php

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions translations/messages.pt.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
],

'information_request' => [
'explanation' => 'If you press \'confirm request\', your attributes will be sent to SURF\'s Privacy Officer, and your request about the processing of personal data will be taken care of.',
'explanation' => 'If you press \'confirm request\', your personal data will be sent to SURF\'s Privacy Officer, and your request about the processing of personal data will be taken care of.',
'long_title' => 'Identification because of request data subject',
'send_mail' => 'Confirm request',
'short_title' => 'Identification request',
Expand All @@ -79,7 +79,7 @@

'information_request_confirmation' => [
'explanation' => 'Your request about the processing of personal data will be taken care of.',
'long_title' => 'Thanks for sending your attributes',
'long_title' => 'Thanks for sending your personal data',
'short_title' => 'Identification request',
],

Expand Down Expand Up @@ -121,8 +121,8 @@

'delete_connection' => [
'explanation' => 'Are you sure you want to delete your connection to %serviceName% and revoke access to your linked accounts?',
'title' => 'Delete Service',
'warning' => 'This service might not recognize you the next time you login and all your personal data within this service might be lost.',
'title' => 'Delete application',
'warning' => 'This application might not recognize you the next time you login and all your personal data within this application might be lost.',
],

'explanation' => 'É possível ligar fontes externas ao seu Perfil %suiteName%. A %suiteName% consegue usar esta informação para enriquecer os atributos existentes da sua conta institucional com os valores desta conta externa. Os serviços ligados à %suiteName% podem receber e usar esta informação.',
Expand Down Expand Up @@ -219,8 +219,8 @@
'no_attribute_released' => 'Este serviço não recebe informações sobre si.',

'service_information' => [
'title' => 'Information transferred to the service',
'aa_text' => 'In addition to the attributes listed above, this service also receives attributes from the following sources:',
'title' => 'Information transferred to the application',
'aa_text' => 'In addition to the personal data listed above, this application also receives personal data from the following sources:',
],

'short_title' => 'Os Meus Serviços',
Expand Down Expand Up @@ -280,8 +280,8 @@
],
'explanation' => [
'singular' => 'This attribute is',
'plural' => 'These attributes are',
'text' => '%singularOrPlural% retrieved at the time you log in to the service. We are therefore unable to show the actual values here.'
'plural' => 'These personal data are',
'text' => '%singularOrPlural% retrieved at the time you log in to the application. We are therefore unable to show the actual values here.'
],
],
],
Expand Down