Post by G_T_M » Mon Feb 11, 2013 3:38 am

Dear All,
. Version of OpenCart - 1.5.4.1
. Clean install
and I get Permission Problems as an Admin on my almost finished shop...

I assumed that it could be caused by other plugins or bespoke theme, but...

I have installed few NEW DUMMY versions of the OC 1.5.4.1 to see at which point the permission is restricted and it seems like there is some problem with OC's Permissions after installation.
Troubleshooting:
Step 1. Admin in the Systems - Users - Users with

Image

Step 2. Top Administrator permissions in the Systems - Users - User Groups

Image

Step 3. When you press SAVE everything seems to be OK

Image

Step 4. But when you are back, you can see that for some reason the SAVE action saved Modified Permissions without of your knowledge...

Image

Now you cannot:
- Modify Permissions including USERS permission
- half of the permissions on the list are withdrawn from Top Administrator where you are the Admin User
- I can only assume that most of the Access Permission problems are caused by the changes created by the SAVE action

I've tried to setup another user with All Admin Permissions ,but the problem is replicated - the SAVE is removing Admin Permissions - It seems like the tick in a box doesn't correspond with the relevant permission or there is some other reason.

Any solutions are welcomed.
Regards
G_T_M

PS. You can't even do the backup - Access Denied !
Warning: You do not have permission to modify backups!

Newbie

Posts

Joined
Mon Feb 11, 2013 2:19 am

Post by G_T_M » Tue Feb 19, 2013 7:00 am

Some other development with help from OC Team

I have used the DEFAULT Admin Permissions as per http://forum.opencart.com/viewtopic.php?f=20&t=27135 (see the code in my post below)
When I 'Select All' permissions to 'Modify' and 'Access' and save all changes everything seems to be OK but...

When I'm back permissions to 'Access' are fine but permissions to 'Modify' are changed again - It looks like some small OC problem...

I would appreciate your comments
Regards

Step1
Image
Step2
Image
Step3
Image
Step4
Image
Code

Code: Select all

a:2:{s:6:"access";a:84:{i:0;s:16:"catalog/category";i:1;s:16:"catalog/download";i:2;s:19:"catalog/information";i:3;s:20:"catalog/manufacturer";i:4;s:15:"catalog/product";i:5;s:14:"catalog/review";i:6;s:18:"common/filemanager";i:7;s:19:"extension/affiliate";i:8;s:14:"extension/feed";i:9;s:16:"extension/module";i:10;s:17:"extension/payment";i:11;s:18:"extension/shipping";i:12;s:15:"extension/total";i:13;s:16:"feed/google_base";i:14;s:19:"feed/google_sitemap";i:15;s:20:"localisation/country";i:16;s:21:"localisation/currency";i:17;s:21:"localisation/geo_zone";i:18;s:21:"localisation/language";i:19;s:25:"localisation/length_class";i:20;s:25:"localisation/order_status";i:21;s:25:"localisation/stock_status";i:22;s:22:"localisation/tax_class";i:23;s:25:"localisation/weight_class";i:24;s:17:"localisation/zone";i:25;s:17:"module/bestseller";i:26;s:11:"module/cart";i:27;s:15:"module/category";i:28;s:15:"module/featured";i:29;s:23:"module/google_analytics";i:30;s:18:"module/google_talk";i:31;s:18:"module/information";i:32;s:13:"module/latest";i:33;s:19:"module/manufacturer";i:34;s:14:"module/special";i:35;s:16:"payment/alertpay";i:36;s:24:"payment/authorizenet_aim";i:37;s:21:"payment/bank_transfer";i:38;s:14:"payment/cheque";i:39;s:11:"payment/cod";i:40;s:14:"payment/liqpay";i:41;s:20:"payment/moneybookers";i:42;s:15:"payment/paymate";i:43;s:16:"payment/paypoint";i:44;s:26:"payment/perpetual_payments";i:45;s:14:"payment/pp_pro";i:46;s:17:"payment/pp_pro_uk";i:47;s:19:"payment/pp_standard";i:48;s:15:"payment/sagepay";i:49;s:22:"payment/sagepay_direct";i:50;s:18:"payment/sagepay_us";i:51;s:19:"payment/twocheckout";i:52;s:16:"payment/worldpay";i:53;s:16:"report/purchased";i:54;s:11:"report/sale";i:55;s:13:"report/viewed";i:56;s:12:"sale/contact";i:57;s:11:"sale/coupon";i:58;s:13:"sale/customer";i:59;s:19:"sale/customer_group";i:60;s:10:"sale/order";i:61;s:15:"setting/setting";i:62;s:13:"setting/store";i:63;s:17:"shipping/citylink";i:64;s:13:"shipping/flat";i:65;s:13:"shipping/free";i:66;s:13:"shipping/item";i:67;s:23:"shipping/parcelforce_48";i:68;s:15:"shipping/pickup";i:69;s:19:"shipping/royal_mail";i:70;s:12:"shipping/ups";i:71;s:13:"shipping/usps";i:72;s:15:"shipping/weight";i:73;s:11:"tool/backup";i:74;s:14:"tool/error_log";i:75;s:12:"total/coupon";i:76;s:14:"total/handling";i:77;s:19:"total/low_order_fee";i:78;s:14:"total/shipping";i:79;s:15:"total/sub_total";i:80;s:9:"total/tax";i:81;s:11:"total/total";i:82;s:9:"user/user";i:83;s:20:"user/user_permission";}s:6:"modify";a:84:{i:0;s:16:"catalog/category";i:1;s:16:"catalog/download";i:2;s:19:"catalog/information";i:3;s:20:"catalog/manufacturer";i:4;s:15:"catalog/product";i:5;s:14:"catalog/review";i:6;s:18:"common/filemanager";i:7;s:19:"extension/affiliate";i:8;s:14:"extension/feed";i:9;s:16:"extension/module";i:10;s:17:"extension/payment";i:11;s:18:"extension/shipping";i:12;s:15:"extension/total";i:13;s:16:"feed/google_base";i:14;s:19:"feed/google_sitemap";i:15;s:20:"localisation/country";i:16;s:21:"localisation/currency";i:17;s:21:"localisation/geo_zone";i:18;s:21:"localisation/language";i:19;s:25:"localisation/length_class";i:20;s:25:"localisation/order_status";i:21;s:25:"localisation/stock_status";i:22;s:22:"localisation/tax_class";i:23;s:25:"localisation/weight_class";i:24;s:17:"localisation/zone";i:25;s:17:"module/bestseller";i:26;s:11:"module/cart";i:27;s:15:"module/category";i:28;s:15:"module/featured";i:29;s:23:"module/google_analytics";i:30;s:18:"module/google_talk";i:31;s:18:"module/information";i:32;s:13:"module/latest";i:33;s:19:"module/manufacturer";i:34;s:14:"module/special";i:35;s:16:"payment/alertpay";i:36;s:24:"payment/authorizenet_aim";i:37;s:21:"payment/bank_transfer";i:38;s:14:"payment/cheque";i:39;s:11:"payment/cod";i:40;s:14:"payment/liqpay";i:41;s:20:"payment/moneybookers";i:42;s:15:"payment/paymate";i:43;s:16:"payment/paypoint";i:44;s:26:"payment/perpetual_payments";i:45;s:14:"payment/pp_pro";i:46;s:17:"payment/pp_pro_uk";i:47;s:19:"payment/pp_standard";i:48;s:15:"payment/sagepay";i:49;s:22:"payment/sagepay_direct";i:50;s:18:"payment/sagepay_us";i:51;s:19:"payment/twocheckout";i:52;s:16:"payment/worldpay";i:53;s:16:"report/purchased";i:54;s:11:"report/sale";i:55;s:13:"report/viewed";i:56;s:12:"sale/contact";i:57;s:11:"sale/coupon";i:58;s:13:"sale/customer";i:59;s:19:"sale/customer_group";i:60;s:10:"sale/order";i:61;s:15:"setting/setting";i:62;s:13:"setting/store";i:63;s:17:"shipping/citylink";i:64;s:13:"shipping/flat";i:65;s:13:"shipping/free";i:66;s:13:"shipping/item";i:67;s:23:"shipping/parcelforce_48";i:68;s:15:"shipping/pickup";i:69;s:19:"shipping/royal_mail";i:70;s:12:"shipping/ups";i:71;s:13:"shipping/usps";i:72;s:15:"shipping/weight";i:73;s:11:"tool/backup";i:74;s:14:"tool/error_log";i:75;s:12:"total/coupon";i:76;s:14:"total/handling";i:77;s:19:"total/low_order_fee";i:78;s:14:"total/shipping";i:79;s:15:"total/sub_total";i:80;s:9:"total/tax";i:81;s:11:"total/total";i:82;s:9:"user/user";i:83;s:20:"user/user_permission";}}')

Newbie

Posts

Joined
Mon Feb 11, 2013 2:19 am

Post by sbcmidoc » Thu Jan 05, 2017 7:26 am

how u solved it ?

Newbie

Posts

Joined
Wed Feb 17, 2016 8:07 am
Who is online

Users browsing this forum: No registered users and 40 guests