commit | c3fd9ba1bea8aea2a7d01929567e7187ebba79bf | [log] [tgz] |
---|---|---|
author | Ivan Pilat <ivanpi@google.com> | Mon Jul 11 13:05:25 2016 -0700 |
committer | Ivan Pilat <ivanpi@google.com> | Mon Jul 11 13:05:25 2016 -0700 |
tree | 052cfca6de6ab1e7e0b38cda6168efb769095113 | |
parent | 778e2048f67c130224a8dee57ae50afcbeec18ef [diff] |
syncbase: Authorization helpers for recursively checking Resolve. Added helpers for authorization with verifying Resolve on all ancestors and returning fuzzy errors (ErrNoExistOrNoAccess) when caller is not authorized for Exists(). Authorization now uses explicitly listed tags, providing more flexibility than RPC method attached tags (e.g. allowing multiple tags, checking different tags on Database and Collection, etc.). Updated Exists() RPCs to use the new authorization helpers. Expanded tests to cover Exists() permission checking. More tests will be added in subsequent CLs to cover error fuzzifying. MultiPart: 1/3 Change-Id: I027014fe179b060de7ad838a90c307624bed68b0
This repository defines the Go APIs of Vanadium.