Skip to content

Commit

Permalink
MDEV-23003 INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION requires …
Browse files Browse the repository at this point in the history
…SUPER instead PROCESS privilege

Fix a typo in a source code. Now real required privileges corresponds
to a ones mentions in documentation.

Documentation states that this table requires PROCESS privilege:
https://mariadb.com/kb/en/information-schema-innodb_tablespaces_encryption-table/
  • Loading branch information
kevgs committed Jun 30, 2020
1 parent ca55e09 commit 1ea266f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/handler/i_s.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8288,7 +8288,7 @@ i_s_tablespaces_encryption_fill_table(
RETURN_IF_INNODB_NOT_STARTED(tables->schema_table_name);

/* deny access to user without PROCESS_ACL privilege */
if (check_global_access(thd, SUPER_ACL)) {
if (check_global_access(thd, PROCESS_ACL)) {
DBUG_RETURN(0);
}

Expand Down

0 comments on commit 1ea266f

Please sign in to comment.