If you can get all identities, you might as well be able to see the identities of the owner of a package.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4594 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-11-01 23:10:29 +00:00
parent 391da742fd
commit 950273da41

View File

@ -391,6 +391,11 @@ async function getProcessBlob(blobId, key, options) {
return ssb.createIdentity(process.credentials.session.name); return ssb.createIdentity(process.credentials.session.name);
} }
}; };
imports.ssb.getOwnerIdentities = function() {
if (options.packageOwner) {
return ssb.getIdentities(options.packageOwner);
}
};
imports.ssb.getIdentities = function() { imports.ssb.getIdentities = function() {
if (process.credentials && if (process.credentials &&
process.credentials.session && process.credentials.session &&