So, we can do things like this:
using (var appSignPkH = await _session.Crypto.AppPubSignKeyAsync()) await _session.MDataPermissions.InsertAsync(permissionsHandle, appSignPkH, GetFullPermissions());
- Can we keep adding to the permissions handle? I.e. adding,
appSignPkH_nwith different permission sets?
- If I want to give the access to some other user, do I need to get the
_session.Crypto.AppPubSignKeyAsync()from that user? I.e. that user calls
_session.Crypto.AppPubSignKeyAsync(), then passes it to
_session.Crypto.SignPubKeyGetAsync(pubSignKey)to get the raw bytes, and sends it to me?
- This, to me seems to imply that the permission to a specific mutable data instance, is given per App-User basis. So if
App_0, that gives
appSignPk_A0, and if same user creates a session through
App_1, that is a distinct key, i.e.
- Is there a way to give permission to a user through any app?