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.

V11 User Permission Redesign Issue

See original GitHub issue

Hello, everybody!

I discovered, one critical bug in ERPNext v11, that turns the system unusable!

We have create a new Role, and refined the full permissions for that Role, after that we have used the fixtures to sync the permissions, and during the migration process, we discovered that all permissions are tecnically gone.

Tecnically because, the record of the permission is into the database, and into the repository, but as you can see into the image below, there’s no field for directly relation between Custom DocPerm and the DocType itself, so, it means that Frappe is using one of the restricted fields eg: (parent, parenttype, parentfield) to store that information, but with that behavior, when we reimport using fixtures, everything is set as null, because ERPNext dont export that information into the fixture system.

Also, it turns the system unusable, because we dont have ways to migrate, and keep updating the system, because we know, pemissions will be lost.

@umairsy, We want to start using the hours to fix that issue.

@bern-lefebvre

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
KanchanChauhancommented, Mar 1, 2019

@MaxMorais We had a similar issue, on every migrate custom permissions disappeared. But I am not sure if it a bug or just not a correct way of exporting permissions.

We changed our way of exporting permissions and it works fine now. We just set permissions and use this to export permissions and it works like a charm.

screen shot 2019-03-01 at 11 08 06 am
1reaction
umairsycommented, Mar 1, 2019

@MaxMorais request you to post this (and future) queries on support@erpnext.com, where we give support to our paid customers. It will help us escalate to the concerned person.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permissions updates in Android 11
Starting in Android 11, whenever your app requests a permission related to location, microphone, or camera, the user-facing permissions dialog contains an ...
Read more >
Changing Permissions for Specific Users in Entitlement ...
To update permissions for an existing user, do the following: Next to the user, click the down arrow to expand the list of...
Read more >
Improved Google Play Console user management
The users and permissions page has been redesigned to make it easier for admins to manage their teams. Permission names and descriptions ...
Read more >
Edward VII
Edward VII (Albert Edward; 9 November 1841 – 6 May 1910) was King of the United Kingdom of ... Issue more... Prince Albert...
Read more >
Permissions · User · Help · GitLab
Action Guest Reporter Developer Maintainer Owner* Download project ✓ (1) ✓ ✓ ✓ ✓ Leave comments ✓ (1) ✓ ✓ ✓ ✓ View Insights charts (ULTIMATE)...
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