kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
harish has quit [Ping timeout: 255 seconds]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #sandstorm
ogres has joined #sandstorm
isd has quit [Quit: Leaving.]
sydney_untangle has quit [Ping timeout: 240 seconds]
sydney_untangle has joined #sandstorm
harish has joined #sandstorm
harish has quit [Ping timeout: 240 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 260 seconds]
harish has joined #sandstorm
jemc has joined #sandstorm
jemc has quit [Read error: Connection reset by peer]
jemc has joined #sandstorm
ogres has quit [Quit: Connection closed for inactivity]
harish has quit [Ping timeout: 260 seconds]
harish has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #sandstorm
TC01 has quit [Ping timeout: 276 seconds]
TC01 has joined #sandstorm
_whitelogger has joined #sandstorm
frigginglorious has quit [Ping timeout: 255 seconds]
aggelos_ has quit [Ping timeout: 255 seconds]
aggelos_ has joined #sandstorm
aggelos_ has quit [Ping timeout: 255 seconds]
aggelos_ has joined #sandstorm
jemc has quit [Read error: Connection reset by peer]
harish has quit [Ping timeout: 260 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 260 seconds]
harish has joined #sandstorm
aundro has joined #sandstorm
aundro has left #sandstorm [#sandstorm]
harish has quit [Ping timeout: 240 seconds]
harish has joined #sandstorm
pie_ has quit [Ping timeout: 240 seconds]
afuentes has joined #sandstorm
pie_ has joined #sandstorm
jemc has joined #sandstorm
ogres has joined #sandstorm
DanC__ has quit [Quit: ubuntu maintenance]
pie_ has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
pie_ has joined #sandstorm
ogres has quit [Quit: Connection closed for inactivity]
Telesight has joined #sandstorm
dmitry_sher has joined #sandstorm
<dmitry_sher> hello everybody!
<dmitry_sher> does anybody know how to get identity of current user?
<dmitry_sher> or any other way to get identity by it's id?
<dmitry_sher> i'm working on server side of my meteor app. i can get the identity id (user id) from request headers. but i don't understand how do i get the identity object.
<dmitry_sher> I would like to post some activity on the behalf of user. For this i need to make Activity.ActivityEvent object. It has a list of users. Each user containing identity...
<dmitry_sher> i did not found a single method in all capnp methods that returns the identity.
<dmitry_sher> in Wekan code i've found that they do cast a result of powerbox request (sharing grain) as an identity.
frigginglorious has quit [Ping timeout: 260 seconds]
<dmitry_sher> ok, finally it's pretty easy...
<dmitry_sher> 1. set saveIdentityCaps = true in bridge config
<dmitry_sher> 2. after that you can make calls like httpBridge.getSavedIdentity with identityId
<dmitry_sher> the latter you can get from request headers for current user or save in your db for later usage
frigginglorious has joined #sandstorm
dmitry_sher has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Lionel_Debroux_ has joined #sandstorm
Lionel_Debroux has quit [Ping timeout: 240 seconds]
bodisiw has joined #sandstorm
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #sandstorm
ogres has joined #sandstorm
pie_ has quit [Remote host closed the connection]
pie_ has joined #sandstorm
bodisiw has quit [Quit: This computer has gone to sleep]
dmitry_sher has joined #sandstorm
dmitry_sher has quit [Client Quit]
Telesight has quit [Remote host closed the connection]
afuentes has quit [Ping timeout: 255 seconds]
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #sandstorm