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: setup wizard breaks for non-admin user during ERPNext setup on frappehr.com domains (backport #2100) #2102

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 21, 2024

Problem: hrms disables erpnext-specific roles after install.

This used to work fine earlier as FC used to login and run setup wizard as admin. But FC now logs the user in as the system manager and not as an admin, so erpnext setup breaks due to missing roles

telegram-cloud-photo-size-5-6208774860646235479-y

Solution: move disabling roles to setup_wizard_complete hook


This is an automatic backport of pull request #2100 done by [Mergify](https://mergify.com).

…rappehr.com domains (#2100)

- hrms disables erpnext-specific roles after install. FC now logs the user in as system manager and not as an admin, so erpnext setup breaks due to missing roles

- solution: move disabling roles to `setup_wizard_complete` hook

(cherry picked from commit 9baf711)
@mergify mergify bot requested a review from ruchamahabal as a code owner August 21, 2024 05:49
@ruchamahabal ruchamahabal merged commit 3e7bb1f into version-15-hotfix Aug 21, 2024
8 checks passed
@mergify mergify bot deleted the mergify/bp/version-15-hotfix/pr-2100 branch August 21, 2024 06:11
frappe-pr-bot pushed a commit that referenced this pull request Aug 21, 2024
# [15.27.0](v15.26.0...v15.27.0) (2024-08-21)

### Bug Fixes

* backport german translations from develop ([#2098](#2098)) ([6cf777d](6cf777d))
* **PWA:** Allow login using username (backport [#2090](#2090)) ([#2095](#2095)) ([514b782](514b782))
* setup wizard breaks for non-admin user during ERPNext setup on frappehr.com domains (backport [#2100](#2100)) ([#2102](#2102)) ([3e7bb1f](3e7bb1f))

### Features

* add HR app to apps page ([#2076](#2076)) ([#2096](#2096)) ([f676dd4](f676dd4))
@frappe-pr-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 15.27.0 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants