Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add SHOW_ROUTINE global privilage option #17537

@TheCalypso

Description

@TheCalypso

Is your feature request related to a problem? Please describe.

I tried to grant view rights to my procedures to a user. Only he is required to have the global SELECT privilege.
The concern of global SELECT is that the user in question can have access to all databases. The advantage of SHOW_ROUTINE global privilege is that: if I only give this global privilege and the SELECT privilege for a specific database. Then the user will only be able to see this specific database and will also be able to see the description of the routines.

https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_show-routine

Table 13.12 Permissible Dynamic Privileges for GRANT and REVOKE :
https://dev.mysql.com/doc/refman/8.0/en/grant.html

Describe the solution you'd like

Add SHOW_ROUTINE option in administration here :
image

Describe alternatives you've considered

I currently use this system on my production servers. Each developer only has full access to HIS database without being able to see that of others. Without SHOW_ROUTINE he cannot see the description of the routines of which he is not the creator.

Additional context

  • phpMyAdmin version: 5.2.0

Please let me know if I need to give a more specific description of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA feature request for improving phpMyAdminUIIssues relating to the user interface

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions