rioriost opened a new pull request, #2585: URL: https://github.com/apache/age/pull/2585
`create_complete_graph` and `age_create_barbell_graph` insert label rows directly. A role with sequence USAGE could add vertices and edges without table INSERT permission, or when forced RLS denies the same operation through SQL. This change checks schema USAGE and INSERT privileges on both labels before generating IDs. It rejects graph generation when RLS applies, since the direct insert path cannot evaluate its policies. Column-level INSERT grants remain supported. The new regression test covers both functions, a missing edge grant, column grants, and forced RLS. The standalone reproducer is in `tools/graph-generation-security/`. On PostgreSQL 18.6, the full AGE regression suite passes (43/43). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
