Page 1 of 1

[WORKAROUND] Permission Denied error OC1.5.6

Posted: Fri Oct 04, 2013 1:16 am
by stokeyblokey
I know this is not a general problem therefore not a bug in OC1.5.6 but it has happened to me and seems to have happened to some people upgrading from 1.5.4.

I have removed all my vQmods and manual changes so my entire install was identical to a fresh install on a file by file basis which only leaves the database...and I don't have any experience to go messing in there! Having thus eliminated any of my other mods I was still left with the problem:

When Access permissions are limited at all then Users get a Permission Denied error inside another frame when editing products as shown below:
admin_error2.jpg

Permission Denied...only not really? - admin_error2.jpg (235.15 KiB) Viewed 1198 times

So if you wanted to use the "Hide Admin Menus" based on permissions vQmod by Giuseppe Davi you would effectively "break" the edit products page (although strangely it does still allow users to edit and save them by scrolling up and down past the Permission Denied message).

To get round that I have made a slight change to Giuseppe's XML file and removed all 60 instances of 'access' and replaced them with 'modify' so that OC is now checking for Modify permissions when hiding the menus - as the Modify permissions still work as they should, this workaround allows me to still hide Admin menus from the less-IT literate end-users and creates a tidier admin panel for them.

Maybe no-one else will have this problem, but just in case I thought I would share my solution :)

Stokey

Re: [WORKAROUND] Permission Denied error OC1.5.6

Posted: Fri Oct 04, 2013 10:16 am
by butte
Ya done good -- it'll be helpful. Virtually nobody winds up as the only one with a particular problem.

Re: [WORKAROUND] Permission Denied error OC1.5.6

Posted: Thu Mar 27, 2014 5:37 pm
by smbdelse
Hi!

I did the change you described, but I still see the permission denied frame. What else can I do? I tried to completely remove the buggy mod, reinstall vqmod, did the change you mentioned and still nothing.

regards

EDIT:
I found that bug shows when permissions for "extension/openbay" is turned off. Turning it on back again fixes the problem.