Comments (3)
This by design and is not a bug. Custom DocPerms represent the ERP Instance as-configured. DocPerms represents the permission of a doctype as designed. For example, in some organizations it may appropriate for a Stock User to submit a Stock Reconciliation, but in others only to create and edit it and require a Stock Manager to submit it.
Short answer is that unless you are the author of the doctype, don't edit the Doc Perms.
from frappe.
This effectively conveys that even if a single Custom DocPerm exists, new DocPerms are fully ignored. So no new DocPerms will be accomodated? (which is not a configuration addition but a design addition)
Yes. Whenever a user goes and sees role permission manager and moves on from that that's exactly what they want permissions to be. So changing it again in future from a code update can be surprising to existing users.
All apps should essentially provide some sane defaults and almost never touch it again, and if they do, they shouldn't expect it to sync... because every organization works differently and our idea of "purchase user" doesn't quite align with theirs.
from frappe.
@agritheory That makes sense when it comes to the same role. Custom DocPerms should be given preference if a DocPerm of the same role exists.
But as i highlighted in the description, does it make sense that role Purchase User's DocPerm is ignored because a Custom DocPerm for the role Accounts User on the same doctype exists ?
This effectively conveys that even if a single Custom DocPerm exists, new DocPerms are fully ignored. So no new DocPerms will be accomodated? (which is not a configuration addition but a design addition)
PS: I changed the label, I wouldn't call this a bug yet. I'm just confused because I saw some unexpected behaviour and want to be clear to maintain and design apps in the future
from frappe.
Related Issues (20)
- Search bar Not hiding for specific Role in Frappe 15 HOT 2
- Error on opening any private note, post upgrade HOT 1
- Genericode List Doctypes
- Form builder to have a Mobile preview alike Frappe Builder
- Timeline communication add "null" to cc if auto replay HOT 1
- Connected App - http on https installation HOT 5
- wkhtmltopdf version installed 12.6 by default in V15 - Ubuntu 22.04 server HOT 3
- Inconsistent Column Widths in Dialog Box Table HOT 1
- Hello @ankush we are using local ubuntu server for development & testing, we are not a DevOps experts to use docker.
- No `before_rename` and `after_rename` server scripts / hooks HOT 1
- Indicator colour in listview HOT 1
- Customising new functionality in frappe
- Customising new functionality in frappe HOT 1
- pymysql.err.OperationalError: (1054, "Unknown column 'background_jobs_queue' in 'field list'") HOT 2
- Better ctrl+k
- Type hint `DF.Float` should be `float` instead of `str` HOT 1
- Deterministic fixture import order still missing in v14 and v15 HOT 8
- Sort options is hiding top options
- Read Only property issue in Web Form
- Filter documents related to the current user on the workspace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frappe.