commit | 6958fce87f47fc87463a025b773ed3e9c496b5f5 | [log] [tgz] |
---|---|---|
author | shafik <shafik@google.com> | Tue Dec 17 10:49:27 2019 +0000 |
committer | shafik <shafik@google.com> | Wed Dec 18 12:00:48 2019 +0000 |
tree | f5a36fdd4f668b47ac7495ca30c8143f29215299 | |
parent | 2d430e0b2074c6cf9502fe46c296122aac1b8bd0 [diff] |
Don't redact if caller is owner and add redaction test Add check for owner package name when redacting a file, if the owner is reading the file or of the reader has been granted write permission to the corresponding URI, we don't redact. Also add tests for redaction, however, no test for the URI permission grant has been added, yet. Tracked in b/146346138. Fixes: 145795132 Test: atest FuseDaemonHostTest Change-Id: Ibf5900c53d27af9f17204f8f294f915c81b04614