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

Implement Identity.getProfile(). #2452

Merged
merged 1 commit into from
Aug 26, 2016

Conversation

dwrensha
Copy link
Collaborator

This allows grains to retrieve up-to-date profile information on their users, even for users who have not visited the grain in a long time, and even for users who have never visited the grain at all (as may happen if the grain powerbox-requests an identity).

After this change, a grain can have a very simple user database consisting of a map from identity ID to Identity sturdyref, where SandstormApi.restore() and Identity.getProfile() are called whenever a particular user's profile is needed.

I have tested this change on a branch of the Collections app that implements an "added-by" column.

@kentonv kentonv merged commit e449c0a into sandstorm-io:master Aug 26, 2016
@dwrensha dwrensha deleted the identity-get-profile branch August 26, 2016 17:55
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.

2 participants