{"action":"opened","issue":{"url":"https://api.github.com/repos/realm/realm-dotnet/issues/1734","repository_url":"https://api.github.com/repos/realm/realm-dotnet","labels_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1734/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1734/comments","events_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1734/events","html_url":"https://github.com/realm/realm-dotnet/issues/1734","id":322627740,"number":1734,"title":"On Xamarin iOS when trying to apply permissions using Realms.Sync.User.Current.ApplyPermissionsAsync() this call gets stuck and doesn't apply permissions","user":{"login":"rdelrosario","id":2547751,"avatar_url":"https://avatars2.githubusercontent.com/u/2547751?v=4","gravatar_id":"","url":"https://api.github.com/users/rdelrosario","html_url":"https://github.com/rdelrosario","followers_url":"https://api.github.com/users/rdelrosario/followers","following_url":"https://api.github.com/users/rdelrosario/following{/other_user}","gists_url":"https://api.github.com/users/rdelrosario/gists{/gist_id}","starred_url":"https://api.github.com/users/rdelrosario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdelrosario/subscriptions","organizations_url":"https://api.github.com/users/rdelrosario/orgs","repos_url":"https://api.github.com/users/rdelrosario/repos","events_url":"https://api.github.com/users/rdelrosario/events{/privacy}","received_events_url":"https://api.github.com/users/rdelrosario/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-13T21:13:34Z","updated_at":"2018-05-13T21:13:34Z","closed_at":null,"author_association":"NONE","body":"When using Realm Platform Cloud cannot get permissions applied using **Realms.Sync.User.Current.ApplyPermissionsAsync** call gets stuck.\r\n\r\n```cs\r\nawait Realms.Sync.User.Current.ApplyPermissionsAsync(RLM.PermissionCondition.UserId(\"*\"), \"*\", RLM.AccessLevel.Write);\r\n``\r\n\r\n## Goals\r\n\r\nBe able to apply write/read permissions to Realm\r\n\r\n## Expected Results\r\n\r\nShould get permissions applied  and task returned after this call \r\n\r\n## Actual Results\r\n\r\nWhen calling **Realms.Sync.User.Current.ApplyPermissionsAsync** never gets response this call gets stuck and doesn't apply the permissions.\r\n\r\n## Steps to Reproduce\r\n\r\n1. Create a realm platform cloud instance\r\n2. Create a realm path with some classes inside.\r\n3. Create a Realm User \r\n4. Change user type to Admin\r\n4. Try to login with username/password\r\n5. Try to apply permissions using using **Realms.Sync.User.Current.ApplyPermissionsAsync**\r\n6. Verify on Realm Studio if permission got applied\r\n\r\n## Code Sample\r\n\r\n```cs\r\nawait Realms.Sync.User.Current.ApplyPermissionsAsync(RLM.PermissionCondition.UserId(\"*\"), \"*\", RLM.AccessLevel.Write);\r\n``\r\n\r\n## Version of Realm and Tooling\r\n\r\n- Realm Cloud\r\n\r\n- Flavor:\r\n  - [X] Developer\r\n  - [ ] Professional\r\n  - [ ] Enterprise\r\n\r\n- Client SDK Version:  3.0.0\r\n- Client OS & Version: iOS 11.0\r\n\r\n\r\n"}}
{"actor":{"display_login":"rdelrosario"}}