Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg:
EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text.
This privilege related to PROCEDURE or FUNCTION or PACKAGE.
The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text:
Example:
grant show create routine on *.* to user@localhost; |
show procedure code test_db.sp; |
Attachments
Issue Links
- causes
-
MDEV-33554 Upgrade from 11.2 to 11.3 changes root's privileges restricting GRANT ALL
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Summary | SHOW CREATE ROUTINE should in included in ALL PRIVILEGES | new db-level SHOW CREATE ROUTINE privilege |
Description |
ALL PRIVILEGES on the database level consists of:
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, GRANT, REFERENCES, INDEX, ALTER, CREATE TMP, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE PROC, ALTER PROC, EVENT, TRIGGER, DELETE HISTORY It is requested to add SHOW CREATE ROUTINE in the ALL PRIVILEGES so we don't need to give separate permissions to view STORED PROCEDURE or FUNCTIONS of the database. |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db |
Assignee | Oleksandr Byelkin [ sanja ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | 11.3 [ 28565 ] |
Description | please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: SHOW_CREATE_ROUTINE_ACL inherited from compatibility from EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL, then SHOW ability determinated only by SHOW_CREATE_ROUTINE_ACL. |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: SHOW_CREATE_ROUTINE_ACL inherited from compatibility from EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL, then SHOW ability determinated only by SHOW_CREATE_ROUTINE_ACL. |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: SHOW_CREATE_ROUTINE_ACL inherited from compatibility from EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL, then SHOW ability determinated only by SHOW_CREATE_ROUTINE_ACL. This privilege related to PROCEDURE or FUNCTION or PACKAGE. |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: SHOW_CREATE_ROUTINE_ACL inherited from compatibility from EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL, then SHOW ability determinated only by SHOW_CREATE_ROUTINE_ACL. This privilege related to PROCEDURE or FUNCTION or PACKAGE. |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Link | This issue is part of TODO-4253 [ TODO-4253 ] |
Status | Stalled [ 10000 ] | In Testing [ 10301 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Alice Sherepa [ alice ] |
Assignee | Alice Sherepa [ alice ] | Oleksandr Byelkin [ sanja ] |
Assignee | Oleksandr Byelkin [ sanja ] | Lena Startseva [ JIRAUSER50478 ] |
Labels | Preview_11.3 |
Assignee | Lena Startseva [ JIRAUSER50478 ] | Oleksandr Byelkin [ sanja ] |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2023-10-18 06:03:33.0 | 2023-10-18 06:03:33.396 |
Fix Version/s | 11.3.1 [ 29416 ] | |
Fix Version/s | 11.3 [ 28565 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one has hte |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one has hte |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: <<sql>> grant show create routine on *.* to user@localhost; show procedure |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: <<sql>> grant show create routine on *.* to user@localhost; show procedure |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: <<sql>> grant show create routine on *.* to user@localhost; show procedure code test_db.sp; <</sql>> |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: <<sql>> grant show create routine on *.* to user@localhost; show procedure code test_db.sp; <</sql>> |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: {noformat} grant show create routine on *.* to user@localhost; show procedure code test_db.sp; {noformat} |
Description |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: {noformat} grant show create routine on *.* to user@localhost; show procedure code test_db.sp; {noformat} |
please, add a new db-level privilege SHOW CREATE ROUTINE so that the user with ALL PRIVILEGES on db level would be able to see all routines in that db
Update after discussing with Serg: EXECUTE_ACL CREATE_PROC_ACL ALTER_PROC_ACL allow to get info about the routine, but SHOW_CREATE_ROUTINE_ACL should give the text. This privilege related to PROCEDURE or FUNCTION or PACKAGE. The effect of this MDEV is that one can give a user the 'show create routine' privilege, which allows the user to see the procedure text: Example: {code:sql} grant show create routine on *.* to user@localhost; show procedure code test_db.sp; {code} |
Link | This issue blocks MENT-1983 [ MENT-1983 ] |
Link |
This issue causes |
Link | This issue blocks MENT-1983 [ MENT-1983 ] |
Zendesk Related Tickets | 106381 |
Link | This issue relates to MENT-1983 [ MENT-1983 ] |
ROUTINES == PROCEDURE or FUNCTION or PACKAGE ?
I think TRIGGER is not routine in this sens but part of the table, right?