MySQL Forums
Forum List  »  Security

User Roles
Posted by: Chris Gillepie
Date: February 24, 2020 03:03PM

Currently i'm working with MySQL 8.19 Community on linux. Developing a VB Studio app that uses stored procedures and functions on MySQL. Created a schema called vagt_db and two roles r_admin and r_basic.

CREATE ROLE r_admin, r_basic ;

GRANT Execute ON FUNCTION system_message TO 'r_admin';

GRANT 'r_basic' TO 'Test'@'%'


Unless I GRANT EXECUTE, SELECT ON vagt_db.* TO r_basic User Test cannot see the function. And at this point the user sees all Functions and Procedures not just the ones granted to r_basic. I followed what the online documents and tutorials say to do. Am I missing a step?

Options: ReplyQuote


Subject
Views
Written By
Posted
User Roles
850
February 24, 2020 03:03PM
510
February 24, 2020 03:08PM
538
February 28, 2020 08:10AM
558
April 08, 2020 09:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.