-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v8] Can't save edited comments on doctypes #3111
Comments
After some testing I found this is down to the fact the the users need to have an 'Amend' ability set then it works fine. This is true of all doctypes that uses comments i would think. I'll test some more. Obviously a fairly easy thing to fix in core if you know how to do this and all the doctypes that use comments |
Actually it needs to be 'amend' permissions on the communication docttype it appears. |
You can add an Amend permission to be able to edit comments but this has the unwanted side affect of showing all emails as editable. This causes another issue such that a plain text email with text formatting ie new lines and spacing then loses the formatting and makes the email look very humbled and difficult to read |
Fixed with this commit #4648 . The other comments I made only related to issues if you used amend permissions, whereas the code used here went about things differently. Will close for now |
Expected Behaviour
Actual Behaviour
Not permitted
You do not have enough permissions to access this resource. Please contact your manager to get access.
There is no unusual contents to js console.
Steps to reproduce:
Not permitted
You do not have enough permissions to access this resource. Please contact your manager to get access.
Frappe version:
8.0.18
Can replicate on demo.erpnext.com
Can replicate with other items such as trying to edit a comment on an Item (stock Item).
The text was updated successfully, but these errors were encountered: