Skip to content
Snippets Groups Projects
Commit 543b560a authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

schema: prepare for fully-functioning CREATE/ALTER/DROP ACLs

In order to make CREATE/ALTER/DROP ACLs available to users other than
admin, make sure utility functions in schema.lua do not require
excess privileges to execute DDL.

Right now many of schema.lua functions work directly with system
spaces to construct a DDL statement or prepare a nice error message
for the user. Siwtch to virtual system views wherever possible.
System views for system spaces are available to role 'public'
and display the same data as system spaces, but filtered through
the user-specific access lense: i.e. they display only rows which
should be visible to the effective user.

Update test results, since now some error messages slightly differ.
Extend test coverage.

In scope of gh-3250 "Make grant/revoke not require accesses to universe"
parent 34021a92
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