Open kohsah opened 6 years ago
@surajpt There is bug; when you are on the profile page and you click log-out. You are left on the profile page without any profiles. It should redirect to the home page in such cases.
@kohsah I will fix.
@kohsah fixed. Kindly review.
Logged in Users need to be able to edit their User Profiles. User profiles for the portal will be managed independent of KeyCloak. This will be done with respect to logins specific to the Portal. User with the role "portal.User" can edit his / her own profile. User with the role "portal.Admin" can edit profiles of users with "portal.User" role. (These are keycloak client roles i.e. specified on the client 'gawati-portal-ui') Changing passwords will still be on keycloak.
Profile will have the information grouped via two visual aspects (like tabs) :
1) Dashboard 2) Edit Profile
1) Dashboard will give access to "Tracked Documents". These are documents that the user is explicitly interested in following in the portal. Note - this "Track Documents" functionality has not been implemented yet, but will be implemented once "User Profile" management is enabled.
2) Edit Profile will allow editing / setting the profile information: -- Alias / Nickname -- Profile Photo Other information from Keycloak authentication needs to be displayed here (but of course not editable) - which includes - first name, last name, email
This will imply storing user profiles into the system in a separate data-store ( couchdb / mongodb ) .