Skip to content
Snippets Groups Projects
Commit 5adc02f6 authored by Georgiy Lebedev's avatar Georgiy Lebedev Committed by Nikita Pettik
Browse files

box: fix and also refactor privilege_resolve

Privileges passed to box.schema.user.grant are resolved in quite a
naïve manner: we do not check that all of them have been resolved.

Also, the privilege_resolve function itself is poorly designed (instead
of generic string processing, we have a bunch of if's): extract parsing
of the privileges string into privilege_parse and process it
through a generic FSA.

Closes #6199
parent b72a5c6a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment