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

Draft: User management service PoC implementation #11896

Closed
wants to merge 67 commits into from

Conversation

meiersi-da
Copy link
Contributor

@meiersi-da meiersi-da commented Nov 26, 2021

Fixes #12014

This PR aims to bring together all changes such that user management is implemented in all sandboxes with an in-memory backend and default JWT tokens are supported alongside the JWT tokens with the custom Daml claims.

Note that this service is not hidden behind a feature flag, as we expect to land it for the next release; and in the worst case can rip it out quite cleanly by deleting the gRPC definitions and following the thread from there.

TODO's before merge

Functionality:

  • listing users
  • use self-service errors to simplify debugging user management failures
  • hook-up standard JWT tokens to auth service
  • authorization for UserManagement API

Testing work moved to separate tickets:

Preparation for review:

  • create proper type for standard JWT tokens
  • handle FIXME's and TODO's and/or convert them to issues
  • split change into a logical sequence of commits

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description
  • If you mean to change the status of a component, please make sure you keep the Component Status page up to date.

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

@nmarton-da nmarton-da force-pushed the user-management-service-stub branch from e4e35a6 to b709a05 Compare November 26, 2021 12:53
@meiersi-da meiersi-da force-pushed the user-management-service-stub branch from 24032d4 to 06431db Compare November 29, 2021 12:31
meiersi-da and others added 8 commits November 29, 2021 14:08
CHANGELOG_BEGIN
- [user management]: introduce rights to act as or read as any party hosted on a participant node
CHANGELOG_END
Boring gRPC API Server integration plumbing

changelog_begin
changelog_end
changelog_begin
changelog_end
changelog_begin
changelog_end
@meiersi-da meiersi-da force-pushed the user-management-service-stub branch from 06431db to 3f33fec Compare November 29, 2021 13:39
@meiersi-da
Copy link
Contributor Author

Closing in favor of #12063

@meiersi-da meiersi-da closed this Dec 8, 2021
@meiersi-da meiersi-da deleted the user-management-service-stub branch December 9, 2021 13:59
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

Successfully merging this pull request may close these issues.

ledger api server: build PoC of user management service
5 participants