Closed (fixed)
Project:
Flexible Google Custom Search Engine
Version:
8.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Feb 2020 at 19:51 UTC
Updated:
24 Feb 2020 at 21:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ramya balasubramanian commentedHey guys,
Currently working on this. Will post a patch soon
Comment #3
ramya balasubramanian commentedHi guys,
Attached a Patch for this. Please have a look
Comment #4
ramya balasubramanian commentedSorry guys, ignore the last patch. Please see below snippet
We need to create flexible_google_cse.permissions.yml file in the module root folder. Place the below code
Then in routing.yml file, add this custom permission
Comment #5
hunde.keba commentedThe initial patch from @heatherwoz seems to be working fine for me. It looks like the patch was created on a windows machine and has some character encoding issue but, apart from that it is working fine. It will be ported to the latest dev branch.
Comment #7
hunde.keba commentedThe first patch by @heatherwoz was missing _permission key on the routing.yml file. Thank you @Ramya Balasubramanian for the fix. This will be ported on the next release.
Comment #8
heatherwoz commented@hunde.keba, yes, sorry about the encoding issue. I realized after posting the patches that I hadn't encoded them correctly. Glad you were able to resolve it.
Comment #10
hunde.keba commentedComment #11
hunde.keba commentedComment #12
hunde.keba commented