Raised in: #222 · @filvecchiato
Description
getPrimaryDotNsName returns the product's primary dotNS node — a path into the namespace — and the account that controls it, as a (DotNsNode, AccountId) pair.
Motivation
A product can read its own identifier from getProductContext and the user's primary username from getUserId, but nothing tells it which dotNS node it is published under or which account controls that node.
Requirements
- Returns a
(DotNsNode, AccountId) pair.
- The
DotNsNode is a path into the namespace, not a bare label.
- The controlling account should generally be signable via
signWithAccount.
Tasks
Note: no RFC drafted yet.
Raised in: #222 · @filvecchiato
Description
getPrimaryDotNsNamereturns the product's primary dotNS node — a path into the namespace — and the account that controls it, as a(DotNsNode, AccountId)pair.Motivation
A product can read its own identifier from
getProductContextand the user's primary username fromgetUserId, but nothing tells it which dotNS node it is published under or which account controls that node.Requirements
(DotNsNode, AccountId)pair.DotNsNodeis a path into the namespace, not a bare label.signWithAccount.Tasks
Note: no RFC drafted yet.