Implement ee.data.testIamPermissions() for the JS client (see: https://developers.google.com/earth-engine/reference/rest/v1/projects.assets/testIamPermissions).
#452
+45
−0