We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f217ca commit 086560eCopy full SHA for 086560e
1 file changed
src/database.rs
@@ -393,6 +393,11 @@ impl Database {
393
} else if value == 1 {
394
// Authorization.DENY
395
auth.deny(&key);
396
+ } else {
397
+ return cx.throw_error(format!(
398
+ "Invalid authorization rule value '{}' for table '{}'. Expected 0 (ALLOW) or 1 (DENY).",
399
+ value, key
400
+ ));
401
}
402
403
let auth = auth.build();
0 commit comments