question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Admin permissions fail to import

See original GitHub issue

Firstly, thank you for building this fantastic plugin!

Bug report

Describe the bug

I’m finding that in my production environment admin permissions always fail to import. Other config types are fine. I’ve tried importing on bootstrap, via CLI and via the GUI. All fail.

Running the import command multiple times doesn’t do anything.

Screen Shot 2022-01-21 at 7 43 37 am

The diff is visible in the GUI.

Screen Shot 2022-01-21 at 7 48 21 am

My config

'config-sync': {
    enabled: true,
    config: {
      importOnBootstrap: true,
      excludedConfig: [
        "core-store.plugin_users-permissions_advanced"
      ],
    },
  },

System

  • Node.js version: 12.22.1
  • NPM version: 6.14.12
  • Strapi version: 4.0.5
  • Plugin version: 1.0.0-beta.5
  • Database: Mysql
  • Operating system: Ubuntu 20.4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
danielbitzercommented, Jan 26, 2022

Released with v1.0.0-beta.6.

Great! Thank you!

I’ve seen somebody who had a similar issue and it turned out to be strapi/strapi#11996.

Interesting, thanks for the pointer.

For him the problem was he had importOnBootstrap enabled locally, which is not recommended.

I literally discovered I’d made this mistake yesterday. I think that’s a good change to prevent it happening in the dev environment.

0reactions
boazpoolmancommented, Jan 26, 2022

Thank you for the donation @danielbitzer! Very much appreciated ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Group Admin is presented with error "Failed to upload row ...
The Group admin needs to have the necessary permissions by following the below steps (using a Super Admin account) to be able to...
Read more >
Error when you import or delete solution - Dynamics 365 Sales
This error occurs if you're missing the necessary privileges to install or delete the solution. This issue may also occur if you don't...
Read more >
Privileges error when you import custom objects in Salesforce ...
This occurs if a system administrator does not have the Import Custom Object permission enabled. To reproduce: From Setup, type Import into the...
Read more >
Solved: User unable to import issues - Atlassian Community
Solved: What permission does a user need to be able to import issues? ... The administrator can perform more advanced bulk imports.
Read more >
Why can I import certain modules in Python only with ...
The problem occurred when another user logged into my machine (I'm having administrator rights there) and tried to use the tool. He was...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found