MCPcopy Create free account
hub / github.com/MariaDB/server / traverse_role_graph_up

Function traverse_role_graph_up

sql/sql_acl.cc:6707–6713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6705*/
6706
6707static int traverse_role_graph_up(ACL_ROLE *role, void *context,
6708 int (*on_node) (ACL_USER_BASE *role, void *context),
6709 int (*on_edge) (ACL_USER_BASE *current, ACL_ROLE *neighbour, void *context))
6710{
6711 return traverse_role_graph_impl(
6712 role, context, my_offsetof(ACL_ROLE, parent_grantee), on_node, on_edge);
6713}
6714
6715/**
6716 Traverse the role grant graph, going from a user or a role to granted roles.

Callers 2

propagate_role_grantsFunction · 0.85

Calls 1

traverse_role_graph_implFunction · 0.85

Tested by

no test coverage detected