| 6720 | */ |
| 6721 | |
| 6722 | static int traverse_role_graph_down(ACL_USER_BASE *user, void *context, |
| 6723 | int (*on_node) (ACL_USER_BASE *role, void *context), |
| 6724 | int (*on_edge) (ACL_USER_BASE *current, ACL_ROLE *neighbour, void *context)) |
| 6725 | { |
| 6726 | return traverse_role_graph_impl(user, context, |
| 6727 | my_offsetof(ACL_USER_BASE, role_grants), |
| 6728 | on_node, on_edge); |
| 6729 | } |
| 6730 | |
| 6731 | /* |
| 6732 | To find all db/table/routine privilege for a specific role |
no test coverage detected