Last active
August 31, 2021 16:39
-
-
Save pauloharaujos/dc46a53265fb694b3fa019493d4967cf to your computer and use it in GitHub Desktop.
Fix No Administrators role was found, data fixture needs to be run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a tabela é authorization_role | |
vai nessa tabela | |
e na linha que tiver o "role_id" = 1 | |
muda o "role_name" para "Administrators" | |
se a tabela estiver vazia, rodar a query abaixo: | |
INSERT INTO authorization_role (role_id, parent_id, tree_level, sort_order, role_type, user_id, user_type, role_name) VALUES (1, 0, 1, 1, 'G', 0, '2', 'Administrators'); | |
INSERT INTO authorization_rule (rule_id, role_id, resource_id, privileges, permission) VALUES (1, 1, 'Magento_Backend::all', null, 'allow'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment