Jump to content
mihailgoryachev

У Вас нет прав для редактирования групп пользователей!

Recommended Posts

Добрый день. кто-нибудь сталкивался с такой ошибкой: при редактировании прав для групп пользователей, через админский логин, выдаёт: У Вас нет прав для редактирования групп пользователей! 

 

После установки какого модуля это случилось понять уже сложно. Как можно решить?

Share this post


Link to post
Share on other sites

Уже после сохранения?

Кто отключил modify user/group_permission

С другой стороны, а какую группу вы админите?

Свою?

Ну, кто бы это не сделал, то, на мой взгляд он сделал это правильно.
Нельзя редактировать самого себя..
 

Share this post


Link to post
Share on other sites

Скорей всего max_input_vars или что-то вроде того

 

сохраняются не все галочки вот и получается такое

 

Share this post


Link to post
Share on other sites
18 minutes ago, chukcha said:

Уже после сохранения?

Кто отключил modify user/group_permission

С другой стороны, а какую группу вы админите?

Свою?

Ну, кто бы это не сделал, то, на мой взгляд он сделал это правильно.
Нельзя редактировать самого себя..
 

Да, после сохранения

Я захожу под админом и редактирую админскую группу, для доступа к модулям. Кто же ещё кроме админа может это сделать.

Тут что-то сломалось, так как я под админом не могу даже разрешения для демонстрации выставить.

Share this post


Link to post
Share on other sites

если вы сами себе запретили, то кто вам тогда разрешит?

Share this post


Link to post
Share on other sites
39 minutes ago, chukcha said:

если вы сами себе запретили, то кто вам тогда разрешит?

не могу понять про что Вы. Как я мог себе это запретить?

Даже если так, как это можно восстановить? какое имя там отвечает за редактирование разрешений групп?

через базу данных поправлю

Share this post


Link to post
Share on other sites

Решено. в базе эта строка имеет ограниченный объём. Если будет много дополнений, то они начнут вытеснять друг друга и соответственно отключаться.

Screenshot.png

Share this post


Link to post
Share on other sites
В 09.02.2019 в 19:05, mihailgoryachev сказал:

Решено. в базе эта строка имеет ограниченный объём. Если будет много дополнений, то они начнут вытеснять друг друга и соответственно отключаться.

Screenshot.png

А что конкретно Вы сделали? 

Share this post


Link to post
Share on other sites
26 минут назад, max1985 сказал:

А что конкретно Вы сделали? 

очевидно он объем нарастил

Share this post


Link to post
Share on other sites
В 16.04.2019 в 17:31, nikifalex сказал:

очевидно он объем нарастил

подскажите, как правильно нарастить объем?

Share this post


Link to post
Share on other sites
47 минут назад, arthyrgrex сказал:

подскажите, как правильно нарастить объем?

А вы уверены, что именно это вам надо?

 

В 09.02.2019 в 12:43, spectre сказал:

Скорей всего max_input_vars или что-то вроде того

 

сохраняются не все галочки вот и получается такое

 

может быть начать с этого?

Share this post


Link to post
Share on other sites

Я тут прикинул для 2.3

Например длина пути контроллера 50 символов = может быть и больше, но есть и меньше
значение 1
50 +1
плюс экранирующие + 3
50 + 1 + 3
плюс разделитель

50 + 1 + 3 + 1
округляем до 65 - легче считать
65 000 / 65 = 1000 контроллеров
дели на 2 (access и modification)
500

 

по дефолту  около 250

 

Где можно еще 250 найти чтобы закончилось место?

И это я посчитал по максимальному пути..

Share this post


Link to post
Share on other sites
10 часов назад, chukcha сказал:

А вы уверены, что именно это вам надо?

 

может быть начать с этого?

изменил с 1000 на 5000
перезагрузил апатч
проблема не исчезла
1442179698_-GoogleChrome.jpg.df6bbfb3c9544c9b114de4564644d410.jpg

Share this post


Link to post
Share on other sites
1 минуту назад, arthyrgrex сказал:

проблема не исчезла

какая проблема? Подозреваю что у вас вообще другая проблема

Share this post


Link to post
Share on other sites

Я из-под админа в админке сайта пытаюсь редактировать группу пользователя, либо создать пользователя, либо сохранить настройки магазина.
На все эти действия мне админка отдает ошибку о недостаточности прав на редактирование, хотя я рут в админке.

Share this post


Link to post
Share on other sites
Только что, arthyrgrex сказал:

хотя я рут в админке

рут?руть? врут? врят? ртуть? где вы таких слов набрались? Это не из опенкарта вообще.

 

вы удалили себе права на редактирование групп. Теперь гуглите как вернуть назад

Share this post


Link to post
Share on other sites
4 минуты назад, nikifalex сказал:

рут?руть? врут? врят? ртуть? где вы таких слов набрались? Это не из опенкарта вообще.

 

вы удалили себе права на редактирование групп. Теперь гуглите как вернуть назад

я думаю вы прекрасно поняли, что я имел ввиду по словом "рут"

спасибо и на этом

Share this post


Link to post
Share on other sites
Posted (edited)

Помогло следующее решение:
У меня OcStore 2.1.0.2.1, но права вставлял от 2.1.0.1
 

1. Заходите в phpMyAdmin.

2. Находите таблицу user_group (см. левую колонку) и заходите в нее.

3. В строке Главный администратор нажимаете Изменить.

21.jpg.191e886fb438aec9de1e5a058041eb93.jpg

4. Вставляете ниже указанный текст в самое большое, квадратное  окно.

{"access":["analytics\/google_analytics","captcha\/basic_captcha","captcha\/google_captcha","catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","common\/menu","common\/profile","common\/sass","common\/stats","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/layout","extension\/analytics","extension\/captcha","extension\/feed","extension\/fraud","extension\/installer","extension\/modification","extension\/module","extension\/openbay","extension\/payment","extension\/shipping","extension\/total","feed\/google_base","feed\/google_sitemap","feed\/openbaypro","fraud\/fraudlabspro","fraud\/ip","fraud\/maxmind","localisation\/city","localisation\/city_update","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/account","module\/affiliate","module\/alphasms","module\/amazon_button","module\/amazon_login","module\/amazon_pay","module\/banner","module\/bestseller","module\/carousel","module\/category","module\/d_quickcheckout","module\/deadcow_seo","module\/ebay_listing","module\/featured","module\/filter","module\/google_hangouts","module\/html","module\/information","module\/latest","module\/olark","module\/pp_button","module\/pp_login","module\/redirect_manager","module\/slideshow","module\/special","module\/store","module\/tm_blog_articles","module\/tm_blog_category","module\/tm_category","module\/tm_category_menu","module\/tm_cookie_policy","module\/tm_countdown","module\/tm_fbbox","module\/tm_google_map","module\/tm_instagram","module\/tm_manufacturer","module\/tm_megamenu","module\/tm_module_tab","module\/tm_newsletter","module\/tm_newsletter_popup","module\/tm_parallax","module\/tm_pinterest","module\/tm_product_slideshow","module\/tm_progress_bars","module\/tm_single_category_product","module\/tm_slideshow","module\/tm_social_list","module\/tm_twitter","module\/tm_videobg","openbay\/amazon","openbay\/amazon_listing","openbay\/amazon_product","openbay\/amazonus","openbay\/amazonus_listing","openbay\/amazonus_product","openbay\/ebay","openbay\/ebay_profile","openbay\/ebay_template","openbay\/etsy","openbay\/etsy_product","openbay\/etsy_shipping","openbay\/etsy_shop","payment\/amazon_checkout","payment\/amazon_login_pay","payment\/authorizenet_aim","payment\/authorizenet_sim","payment\/bank_transfer","payment\/bluepay_hosted","payment\/bluepay_redirect","payment\/cheque","payment\/cod","payment\/firstdata","payment\/firstdata_remote","payment\/free_checkout","payment\/g2apay","payment\/globalpay","payment\/globalpay_remote","payment\/klarna_account","payment\/klarna_invoice","payment\/liqpay","payment\/nochex","payment\/paymate","payment\/paypoint","payment\/payza","payment\/perpetual_payments","payment\/pp_express","payment\/pp_payflow","payment\/pp_payflow_iframe","payment\/pp_pro","payment\/pp_pro_iframe","payment\/pp_standard","payment\/realex","payment\/realex_remote","payment\/sagepay_direct","payment\/sagepay_server","payment\/sagepay_us","payment\/securetrading_pp","payment\/securetrading_ws","payment\/skrill","payment\/twocheckout","payment\/web_payment_software","payment\/worldpay","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/custom_field","sale\/customer","sale\/customer_ban_ip","sale\/customer_group","sale\/newfastorder","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","shipping\/auspost","shipping\/citylink","shipping\/fedex","shipping\/flat","shipping\/free","shipping\/item","shipping\/novaposhta","shipping\/parcelforce_48","shipping\/pickup","shipping\/royal_mail","shipping\/ups","shipping\/usps","shipping\/weight","simple_blog\/article","simple_blog\/author","simple_blog\/category","simple_blog\/comment","simple_blog\/install","simple_blog\/report","tool\/backup","tool\/error_log","tool\/export_import","tool\/upload","total\/coupon","total\/credit","total\/handling","total\/klarna_fee","total\/low_order_fee","total\/reward","total\/shipping","total\/sub_total","total\/tax","total\/total","total\/voucher","user\/api","user\/user","user\/user_permission"],"modify":["analytics\/google_analytics","captcha\/basic_captcha","captcha\/google_captcha","catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","common\/menu","common\/profile","common\/sass","common\/stats","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/layout","extension\/analytics","extension\/captcha","extension\/feed","extension\/fraud","extension\/installer","extension\/modification","extension\/module","extension\/openbay","extension\/payment","extension\/shipping","extension\/total","feed\/google_base","feed\/google_sitemap","feed\/openbaypro","fraud\/fraudlabspro","fraud\/ip","fraud\/maxmind","localisation\/city","localisation\/city_update","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/account","module\/affiliate","module\/alphasms","module\/amazon_button","module\/amazon_login","module\/amazon_pay","module\/banner","module\/bestseller","module\/carousel","module\/category","module\/d_quickcheckout","module\/deadcow_seo","module\/ebay_listing","module\/featured","module\/filter","module\/google_hangouts","module\/html","module\/information","module\/latest","module\/olark","module\/pp_button","module\/pp_login","module\/redirect_manager","module\/slideshow","module\/special","module\/store","module\/tm_blog_articles","module\/tm_blog_category","module\/tm_category","module\/tm_category_menu","module\/tm_cookie_policy","module\/tm_countdown","module\/tm_fbbox","module\/tm_google_map","module\/tm_instagram","module\/tm_manufacturer","module\/tm_megamenu","module\/tm_module_tab","module\/tm_newsletter","module\/tm_newsletter_popup","module\/tm_parallax","module\/tm_pinterest","module\/tm_product_slideshow","module\/tm_progress_bars","module\/tm_single_category_product","module\/tm_slideshow","module\/tm_social_list","module\/tm_twitter","module\/tm_videobg","openbay\/amazon","openbay\/amazon_listing","openbay\/amazon_product","openbay\/amazonus","openbay\/amazonus_listing","openbay\/amazonus_product","openbay\/ebay","openbay\/ebay_profile","openbay\/ebay_template","openbay\/etsy","openbay\/etsy_product","openbay\/etsy_shipping","openbay\/etsy_shop","payment\/amazon_checkout","payment\/amazon_login_pay","payment\/authorizenet_aim","payment\/authorizenet_sim","payment\/bank_transfer","payment\/bluepay_hosted","payment\/bluepay_redirect","payment\/cheque","payment\/cod","payment\/firstdata","payment\/firstdata_remote","payment\/free_checkout","payment\/g2apay","payment\/globalpay","payment\/globalpay_remote","payment\/klarna_account","payment\/klarna_invoice","payment\/liqpay","payment\/nochex","payment\/paymate","payment\/paypoint","payment\/payza","payment\/perpetual_payments","payment\/pp_express","payment\/pp_payflow","payment\/pp_payflow_iframe","payment\/pp_pro","payment\/pp_pro_iframe","payment\/pp_standard","payment\/realex","payment\/realex_remote","payment\/sagepay_direct","payment\/sagepay_server","payment\/sagepay_us","payment\/securetrading_pp","payment\/securetrading_ws","payment\/skrill","payment\/twocheckout","payment\/web_payment_software","payment\/worldpay","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/custom_field","sale\/customer","sale\/customer_ban_ip","sale\/customer_group","sale\/newfastorder","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","shipping\/auspost","shipping\/citylink","shipping\/fedex","shipping\/flat","shipping\/free","shipping\/item","shipping\/novaposhta","shipping\/parcelforce_48","shipping\/pickup","shipping\/royal_mail","shipping\/ups","shipping\/usps","shipping\/weight","simple_blog\/article","simple_blog\/author","simple_blog\/category","simple_blog\/comment","simple_blog\/install","simple_blog\/report","tool\/backup","tool\/error_log","tool\/export_import","tool\/upload","total\/coupon","total\/credit","total\/handling","total\/klarna_fee","total\/low_order_fee","total\/reward","total\/shipping","total\/sub_total","total\/tax","total\/total","total\/voucher","user\/api","user\/user","user\/user_permission"]}

22.jpg.7a1478c3a0f0eda0780c79925dd9fc2f.jpg

5. Нажимаете кнопку Вперед но не самую нижнюю, а расположенную непосредственно под данным окном (точнее чуть левее).

6. Заходите на сайт и проверяете. Все права должны у вас быть как на только установленном сайте.

 

 

Edited by arthyrgrex

Share this post


Link to post
Share on other sites

ну вот мой совет вам отлично помог. и поговорка про удочку отлично подошла

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.