* sepgsql_exec_check_perms * * Entrypoint of DML permissions */
| 288 | * Entrypoint of DML permissions |
| 289 | */ |
| 290 | static bool |
| 291 | sepgsql_exec_check_perms(List *rangeTabls, bool abort) |
| 292 | { |
| 293 | /* |
| 294 | * If security provider is stacking and one of them replied 'false' at |
| 295 | * least, we don't need to check any more. |
| 296 | */ |
| 297 | if (next_exec_check_perms_hook && |
| 298 | !(*next_exec_check_perms_hook) (rangeTabls, abort)) |
| 299 | return false; |
| 300 | |
| 301 | if (!sepgsql_dml_privileges(rangeTabls, abort)) |
| 302 | return false; |
| 303 | |
| 304 | return true; |
| 305 | } |
| 306 | |
| 307 | /* |
| 308 | * sepgsql_utility_command |
nothing calls this directly
no test coverage detected