Open luxlogica opened 7 years ago
Can someone try it out. If it works I will merge it.
I have implemented this on 5 separate sites, without any problems.
Works for me. Much better then the error, if the current logged in user is not able to change the URL and get a panel-error...
If the currently logged in user does not have permission to change the URL of the current page, or the page itself has its 'change url' permission set to 'false' in the blueprint, and the user clicks on the page URL link inside the SEO field, it causes a Panel error. This change will simply check whether these permissions are present or not. If they aren't it will change the attributes of the URL link inside the SEO field, so that clicking on it will do nothing - and will no longer cause any errors.