Thanks
this is what are show in my ez-admin group edit, inserted into database via phpmyadmin. I am using ez2.2.7-1, the ID for eztrade is 1
eZTrade:
CategoryList
Currency
CustomerList
ModuleEdit
NewCategory
NewProduct
NewType
NewVoucher
OrderList
PriceGroups
ShippingTypes
TypeList
VATtypes
VoucherList
and I click ModuleEdit and OrderList , and save for the group with adminlogin, after test user login, eztrade is the only module show , with the full list of the above functions, all other function work , because each of their permission file have not paste into datasupplier.php yet, but the OrderList return " Access Denied " for both on/off of the OrderList in group edit.
what to do now please ?
PHP Code:
{
case "orderlist" :
{
if ( $url_array[3] != "" )
$Offset = $url_array[3];
else
$Offset = 0;
// To check for a permission do this
$permission='OrderList';
if(eZPermission::checkPermission($user,"eZSysmon","OrderList")==false){
echo ( "Access denied" );
} else {
include( "eztrade/admin/orderlist.php" );
}
}
break;
Bookmarks