MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / readonly_cannot_create_user

Function readonly_cannot_create_user

nodedb/tests/pgwire_auth_users.rs:193–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191
192#[tokio::test]
193async fn readonly_cannot_create_user() {
194 let state = make_state();
195 assert_readonly_denied(&state, "CREATE USER hacker WITH PASSWORD 'x'").await;
196}
197
198#[tokio::test]
199async fn readonly_cannot_drop_user() {

Callers

nothing calls this directly

Calls 2

assert_readonly_deniedFunction · 0.85
make_stateFunction · 0.70

Tested by

no test coverage detected