diff --git a/api/src/auth.rs b/api/src/auth.rs index a9b601557..5386f49fb 100644 --- a/api/src/auth.rs +++ b/api/src/auth.rs @@ -129,17 +129,11 @@ fn authenticate_biscuit(biscuit: &Biscuit, operation: &Operation, resource: &str let mut auth = authorizer!(r#" operation({operation}); resource({resource}); - model({resource}, "kjzl6hvfrbw6cadyci5lvsff4jxl1idffrp2ld3i0k1znz0b3k67abkmtf7p7q3"); // FIXME is_allowed($user, $res) <- user($user), resource($res), right($user, $res); - is_allowed($user, $res) <- - user($user), - resource($res), - model($res, $model), - rightModel($user, $model); allow if is_allowed($user, $resource); "#,