Skip to content
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

fix: apply perms on letter head selection (backport #26563) #26583

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 27, 2024

By default, all desk users have read access on all Letter Heads. However, this can be further restricted by custom Role- and User Permissions. The print settings dialog and the Letter Head list in frappe.boot.letter_heads didn't respect these permissions.

Fixes:

@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label May 27, 2024
@barredterra
Copy link
Collaborator

The failing UI test seems unrelated

@barredterra barredterra removed their assignment May 27, 2024
@barredterra barredterra removed the add-test-cases Add test case to validate fix or enhancement label May 27, 2024
@ankush ankush added the Skip CI Doesn't run Ci for this PR. label Jun 4, 2024
@ankush ankush enabled auto-merge (squash) June 4, 2024 13:07
@ankush ankush merged commit ef4bb3b into version-15-hotfix Jun 4, 2024
21 of 23 checks passed
@ankush ankush deleted the mergify/bp/version-15-hotfix/pr-26563 branch June 4, 2024 13:08
frappe-pr-bot pushed a commit that referenced this pull request Jun 11, 2024
## [15.29.2](v15.29.1...v15.29.2) (2024-06-11)

### Bug Fixes

* Append symbol on number card ([#26731](#26731)) ([#26732](#26732)) ([38457a5](38457a5))
* apply perms on letter head selection (backport [#26563](#26563)) ([#26583](#26583)) ([ef4bb3b](ef4bb3b))
* Email tracking without "use_ssl" ([#26718](#26718)) ([#26735](#26735)) ([f78d8f8](f78d8f8))
* Move Monitor dump to after_response ([#26703](#26703)) ([#26709](#26709)) ([c24ee13](c24ee13))
* **package_release:** set path to tarball ([9606348](9606348))
* recursive fetch from causes infinite loop ([#26695](#26695)) ([#26697](#26697)) ([9c33352](9c33352))
* Skip letter heads if no permission ([#26689](#26689)) ([#26692](#26692)) ([c9b5df3](c9b5df3))
* Skip virtual fields in all select queries ([#26700](#26700)) ([#26702](#26702)) ([3797f8f](3797f8f))
* **UX:** Disable number card filters on standard ([#26676](#26676)) ([#26680](#26680)) ([58f154f](58f154f))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.29.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Skip CI Doesn't run Ci for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants