We have just installed the new Easy Edit Suite. As best we can tell we have followed the installation instructions accurately.
But now, any attempt to access the edit function (by adding /_edit to the URL) yeilds the message "You do not have sufficient permissions to access this interface. Please check with your system administrator." Even root does not have "sufficient permissions"!
I note that there is this line at about line 20 of /__data/ees/easyedit.min.js:
window.api_key=this.config.JSAPI.key;EasyEditOverlay.init('ees_mainOverlay');if(typeof(getGeneral)!=="function"){EasyEditOverlay.showOverlay('error',{message:'You do not have sufficient permissions to access this interface. Please check with your system administrator.'});return true;}
Can you suggest something that We should do or try to get this working… please?
regards
Polonius
Hi Polonius
If you are getting this message in the transparent overlay with a red x image then it is usually related incorrect configuration, please check the following:
- That your design file code references the correct files e.g. makes reference to the correct JS API asset and EES config file you would have created during instillation and initial implementation.
- That your JS API asset (on details screen) is configured as per instructions http://manuals.matrix.squiz.net/ees/chapters/installation
- That all root nodes of assets you want to edit are added to the JS API 'Root Nodes' on its details screen. For example if you are trying to edit a page under site X then site X needs to be a root node, same goes if trying to edit files under the 'Media' folder.
- That URL's are applied where necessary, see 'Applying URLs' section of http://manuals.matrix.squiz.net/ees/chapters/installation
Let us know how you go.
Cheers
Thank you Scott,
Part of our problem was a miss reading of the Instruction:
[quote]Upon first installing the Easy Edit Suite and/or adding new Site assets to use the Easy Edit Suite, check the following:
…
- The new URL(s) has been applied to the "Designs Folder …[/quote]
We had applied the URL to the design but not to the "Designs Folder"
Once we fixed that, the Easy Edit Suite worked properly for the domain name that exactly matches the original/first domain name set up, but other domain names do not work. For example: matrix.<mydomain>.com.au(the orignal) works properly but shop.<mydomain>.com.au , test.<mydomain>.com.au or www.<different-domain>.com.au yeild the redX with the message.
And we have rechecked the installation. It's now clear that the problem is related to the URLs.
But where?
any help will be appreciated
regards
Polonius
Are all these URL's you mention applied to:
- The Designs Folder? This would be where you have you design parse file.
- The Media Folder? This would be where you would have your config script.
- The Web Services Folder? This would be where you have your EES JS API asset.
- The Site Assets that use them? This would be where you are using _edit when previewing a URL.
EES will run into cross domain conflicts (AJAX fails cross domain) if you are using _edit from a URL which is not applied to these assets.
My above list assumes you are using these parents with your EES setup, there may be variations depending on your system, e.g. some clients keep designs outside the designs folder and some others may choose to keep their JS API elsewhere.
Just remember the basics of: If trying to use _edit on URL X then URL X needs to be applied to the parent of the EES design, EES config, and EES JS API assets.
Let me know how you go.
Thank you Scott,
That was the missing link!
Once all the URLs were in all of those folders it all works.
We really appreciate your help… and your prompt response.
regards
Polonius