forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Preserve Grant Info Altering Routines
- This topic is empty.
-
AuthorPosts
-
-
August 11, 2010 at 12:59 pm #12075emaMember
We know there's no a real ALTER command for stored routines (to change the body, i mean).
The standard way is doing 2 steps: drop the routine and create the modified version.
The drop of one object implies the delete of its grants. That's the annoying thing.
It could be great if SQLyog, while editing an object like stored procedure (SP), automatically remembered grants existing before the drop and re-apply them after the create.
That is, the sequence of sql statements SQLyog execute to alter a SP could include “grant execute” command too, at the end (if grants did exist previously).
This feature could be optional (maybe placed in Preferences mask) to let the user have the maximum control.
I hope I was enough clear and that my english wasn't too bad! 🙂
-
August 12, 2010 at 7:42 am #31241peterlaursenParticipant
You are clear. Â The problem occurs if user editing the Stored Procedure does not have the GRANT privilege. Â
-
August 12, 2010 at 8:00 am #31242emaMember'peterlaursen' wrote on '12:
You are clear. The problem occurs if user editing the Stored Procedure does not have the GRANT privilege.
If user does not have GRANT privilege, he will receive an error during GRANT phase, but SQLyog will simply work just like now (drop+create will still work).
And if the user with no GRANT priv does not want errors, he can disable the feature in preferences…
But in a working scenario where the root is the only developer for many users (root has GRANT privilege), the feature would be appreciated (obviously, this is my case 🙂 )
Anyway, thanks! Every comment is welcome.
-
August 12, 2010 at 9:36 am #31243peterlaursenParticipant
We cannot consider this in 8.6 release as it is 'feature-frozen'. Â But I agree there are some problems with user privileges' implementation in MySQL, that it would be nice a GUI tool handled transparently for user (if he so wishes).Â
-
August 12, 2010 at 10:59 am #31244vishal.prMember
Hi,
Request added to our issue tracker.
Refer to http://code.google.com/p/sqlyog/issues/detail?id=1438
Regards,
Vishal P.R
-
-
AuthorPosts
- You must be logged in to reply to this topic.