We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d96091 commit 29dd4b1Copy full SHA for 29dd4b1
app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
@@ -74,6 +74,9 @@ public function getCustomerGroupName()
74
75
public function getCustomerViewUrl()
76
{
77
+ if (!Mage::getSingleton('admin/session')->isAllowed('customer/manage')) {
78
+ return false;
79
+ }
80
if ($this->getOrder()->getCustomerIsGuest() || !$this->getOrder()->getCustomerId()) {
81
return false;
82
}
0 commit comments