- 18 Oct, 2013 40 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
The output is not completely correct due to recursive role grants not being completly implemented. However, this will help with testing the implementation of set role with recursive grants.
-
Vicențiu Ciorbaru authored
The function now performs a DEPTH FIRST SEARCH on the role graph. At various key points: on_start, on_open, on_cycle, on_finish, the function calls one of the corresponding functions passed as parameters.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
function. The function will be used to help print roles privileges recursively.
-
Vicențiu Ciorbaru authored
function. The function will be used to help print roles privileges recursively.
-
Vicențiu Ciorbaru authored
function. The function will be used to help print roles privileges recursively.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
The privileges are not correctly updated via grant commands yet.
-
Vicențiu Ciorbaru authored
The bug was caused by not renaming the role if it was previously modified by the handle_grant_struct(ROLE_ACL,...) call. The same function used find_acl_role and would search for the already renamed role when it handled ROLES_MAPPINGS_HASH. This caused it to not rename the role/user correctly.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
not support roles
-
Vicențiu Ciorbaru authored
Also fixed issue with drop role not clearing internal memory entry for that role. The issue was due to a condition introduced in handle_grant_data Updated testsuite to also check the possible error conditions.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Revoke privilege on *.* to role@''; also works
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Also added syntax for GRANT privilege TO { role } command
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
TODO: Use an index search on the table, instead of scanning through it.
-
Vicențiu Ciorbaru authored
This change only updates _in memory_ structures.
-
Vicențiu Ciorbaru authored
Added extra comments to explain the ACL_USER_BASE flags usage, as well as fix an issue with get_role_access. The bug caused roles rights to not be propagated if a push on the stack happened. The newly finished neighbour was never reevaluated.
-
Vicențiu Ciorbaru authored
ACL_ROLE now inherits ACL_USER_BASE
-
Vicențiu Ciorbaru authored
Fixed possible failing condition due to different order of table rows
-
Vicențiu Ciorbaru authored
-