I solved this for myself.
The reason i got this error was because i have added a custom menu in bootstrap.php and it was in conflict with the permissions. I just removed the unwanted menu item and the error was no more.
to be more clear,
I have a custom menu in my bootstrap.php like this:
MvcConfiguration::append(array(
'AdminPages' => array(
'countries' => array(
'in_menu' => true,
'parent_slug' => 'mvc_mystores'
),
'mystores' => array(
'countries',
'currencies',
'zones'
)
)
));
in the above code, the following lines served no purpose but were promptly generating error message which is our topic of discussion:
'countries' => array(
'in_menu' => true,
'parent_slug' => 'mvc_mystores'
),
I just removed that.
Now its okay.
Thanks everyone.