// WithPermissions is an option to specify user permissions when creating the MysqlUser
WithPermissions is an option to specify user permissions when creating the MysqlUser
// WithPermissions is an option to specify user permissions when creating the MysqlUser
func WithPermissions(permissions ...mysqlv1alpha1.MysqlPermission) MySQLUserOption {
	return func(mu *mysqluser.MySQLUser) error {
		mu.Spec.Permissions = append(mu.Spec.Permissions, permissions...)
		return nil
	}
}
func WithPermissions ( permissions ... mysqlv1alpha1 . MysqlPermission ) MySQLUserOption { return func ( mu * mysqluser . MySQLUser ) error { mu . Spec . Permissions = append ( mu . Spec . Permissions , permissions ... ) return nil } }
WithPermissions is an option to specify user permissions when creating the MysqlUser
WithPermissions is an option to specify user permissions when creating the MysqlUser