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

User can view his UserAttribute in account console same as in admin console #145

Open
cgeorgilakis opened this issue Dec 1, 2021 · 2 comments

Comments

@cgeorgilakis
Copy link

This will based on role view-user-attributes ( default not set)

@cgeorgilakis
Copy link
Author

We could also use User profile, which is Technology preview and not enabled by default. User profile give us the ability to control which attributes can be viewed ( or edited also) from User in the account console. With this feature, you could do other things like enabling administrator to view/edit specific attribute, attribute validation giving the possibility to User to add extra attributes.
We must take into account tha User attributes not defining in User profile can not be viewed from administrators and Users. As I understand these attributes, is saved in database and can be retrieved fro m Clients.
Need to be tested.

@cgeorgilakis
Copy link
Author

Unfortunately, although User Profile configuration consists ‘Can user view/edit‘, the ‘Personal Info’ page of Account Console does not take into account this information. I propose to suggest adding this information in the ‘Personal Info’ page based on User permission configuration in attributes of User Profile.
User permission configuration is taken into account in User profile page (being able to update all manageable by User Attributes and seeing as readonly the attributes that User can only view). User profile page is showing in first time User login via IdP ( and at least one required attributes is not configured from IdP) and when admin select ‘Update Profile’ Action for the User. Moreover, admin permission configuration is taking into account in admin User page.

cgeorgilakis pushed a commit that referenced this issue May 13, 2024
… info endpoint (#145)

Closes #47

Signed-off-by: Pedro Igor <[email protected]>

Conflicts:
	core/src/main/java/org/keycloak/util/TokenUtil.java
	testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/oauth/ClientTokenExchangeTest.java

Co-authored-by: Pedro Igor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant