Last modified: 2014-07-05 13:30:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69552, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67552 - create procedure to show all granted permission to foreign user for own user databases
create procedure to show all granted permission to foreign user for own user ...
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-05 13:30 UTC by merl
Modified: 2014-07-05 13:30 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description merl 2014-07-05 13:30:42 UTC
normal users have no read access to
mysql.db, mysql.table_priv and mysql.columns_priv

"show grants" shows all rights the current user has, but there is no possibility to show a list of privileges given to foreign users for own databases.

It would be useful to have a procedure with "SQL SECURITY DEFINER" created by a user having read access to these databases which can be called by normal users. It should list all privileges given to prefixed user databases or tables/columns of these (db like 's1234_%').

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links