permission-backend: add todo

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2021-11-22 15:35:46 +00:00
parent cd77cbd48f
commit 7f4a77a884
@@ -80,6 +80,9 @@ const handleRequest = async (
return {
id,
result: AuthorizeResult.CONDITIONAL,
// TODO(mtlewis): this .conditions.conditions situation is a bit awkward. I think it's
// worth exploring a bit of reorganization of the ConditionalPolicyResult type so that
// the naming of property chains like this makes a bit more sense.
conditions: response.conditions.conditions,
};
}