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

Expose user details for user in Client UI #899

Closed
jacobwod opened this issue Nov 10, 2021 · 0 comments
Closed

Expose user details for user in Client UI #899

jacobwod opened this issue Nov 10, 2021 · 0 comments
Assignees
Labels
module:backend MapService stuff module:client/core Core functionality (not a plugin)
Milestone

Comments

@jacobwod
Copy link
Member

When ActiveDirectory is used to filter maps/layers, the Backend already has information about the currently authenticated user. That information (which currently always comes from AD) is a standardised object containing some user details.

This information will come in handy in the Client UI, opening up lot of new possibilities. This issue will not provide anything very useful, other than a nice-looking avatar button that gives the user an illusion of some personalisation (see screenshot below). The goal of this issue is however to provide the underlying mechanism for sending authenticated user's data to the Client UI.

Please note that this information would only be sent to the user that is authenticated, there is no cross-sending of different users' details between accounts. Each user will only see info about himself. Still, to eliminate any privacy related concerns, this behaviour will be controllable on a per-instance-basis (via setting in .env).

image

@jacobwod jacobwod self-assigned this Nov 10, 2021
@jacobwod jacobwod added module:backend MapService stuff module:client/core Core functionality (not a plugin) labels Nov 10, 2021
@jacobwod jacobwod added this to the 3.8 milestone Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:backend MapService stuff module:client/core Core functionality (not a plugin)
Projects
None yet
Development

No branches or pull requests

1 participant