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

No parties in create-daml-app's daml.yaml template, #12952

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

adriaanm-da
Copy link
Contributor

@adriaanm-da adriaanm-da commented Feb 15, 2022

... so that Navigator shows users for login by default.

When parties are specified explicitly in daml.yaml,
navigator uses those instead of querying user management
for the list of users a user can log in as.

These days, it actually doesn't make sense to list the
parties in the daml.yaml. Navigator will query party
mgmt for a list of known parties. We don't implicitly
allocate parties (anymore), so unclear why this section
is still here.

The users for the template are created by the init script
(see Setup.daml).

See #12945

CHANGELOG_BEGIN
CHANGELOG_END

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.

@adriaanm-da adriaanm-da force-pushed the navigator-users-create-daml-app branch from b03b272 to 551c4e1 Compare February 15, 2022 16:30
@adriaanm-da adriaanm-da enabled auto-merge (squash) February 15, 2022 16:32
cocreature added a commit that referenced this pull request Feb 15, 2022
Complements #12952 which drops it from create-daml-app by also
dropping it from the rest.

Couldn’t find any docs or other stuff that is broken by this.

changelog_begin
changelog_end
... so that Navigator shows users for login by default.

When parties are specified explicitly in daml.yaml,
navigator uses those instead of querying user management
for the list of users a user can log in as.

These days, it actually doesn't make sense to list the
parties in the daml.yaml. Navigator will query party
mgmt for a list of known parties. We don't implicitly
allocate parties (anymore), so unclear why this section
is still here.

The users for the template are created by the init script
(see Setup.daml).

See #12945

CHANGELOG_BEGIN
CHANGELOG_END
@adriaanm-da adriaanm-da force-pushed the navigator-users-create-daml-app branch from 551c4e1 to e281b37 Compare February 15, 2022 16:45
@adriaanm-da adriaanm-da merged commit 612bf97 into main Feb 15, 2022
@adriaanm-da adriaanm-da deleted the navigator-users-create-daml-app branch February 15, 2022 17:04
cocreature added a commit that referenced this pull request Feb 15, 2022
Complements #12952 which drops it from create-daml-app by also
dropping it from the rest.

Couldn’t find any docs or other stuff that is broken by this.

changelog_begin
changelog_end
@adriaanm-da
Copy link
Contributor Author

@rgugliel-da Ian Woodgate reported today that the Canton examples are likely running into this problem as well. The login screen for navigator does not show any users for him.

@rgugliel-da
Copy link
Contributor

@rgugliel-da Ian Woodgate reported today that the Canton examples are likely running into this problem as well. The login screen for navigator does not show any users for him.

Done (https://github.com/DACH-NY/canton/pull/9197), thanks for the ping.

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.

3 participants