Skip to content
Snippets Groups Projects
Commit d2e70f18 authored by Serge Petrenko's avatar Serge Petrenko Committed by Konstantin Osipov
Browse files

Make access_check_ddl check for entity privileges.

Function access_check_ddl checked only for universal access, thus
granting entity or singe object access to a user would have no effect in
scope of this function.
Fix this by adding entity access checks.

Also attaching an existing sequence to a space checked for
create privilege on both space and sequence
(instead of read + write on sequence). Fixed it and changed the tests
accordingly.

Closes #3516
parent d512174a
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