feat: Allow multiple role profile for user by niraj2477 [frappe] PR#24745
From: https://github.com/frappe/frappe/pull/24745
Date: 2024-02-10 12:53:57+05:30
- test: role ordering doesn't matter
- fix: disable role editor if role profiles are present
- fix: role profile > user dashboard links
- refactor: useless use of dict in frappe.get_doc
- refactor: remove code duplication for role profile logic
- fix: deduplicate role profiles
- fix: roles getting re-inserted on every save
- refactor: avoid implementing duplicate logic for role profile
- perf: use cached doc for fetching role profiles
- refactor: backward compatiblity code for role_profile_name
- refactor: use get_all instead of get_list
- fix: Resolve lint issue
- fix: Modify function to update role of user on role profile change
- fix: Move old field to table multiselect
- feat: Move old role profile to table multiselect
- fix(patch): Use bulk insert child records
- fix: Restore role profile name and hide it
- fix(patch): Update field name
- feat(test): Add test case for multiple role profile assignments
- fix(test): pass list for role profile in existing single role profile test
- fix: Update method for updating role in role profiles for user
- fix: Update fields names for whitlist method
- fix(Schema): Update the field name in User schema
- fix: Remove debug statement
- fix(patch): Update patch file
- feat(patch): Update existing role profiles
- fix: Update the user method to store multiple role according to role profile
- feat: Add child doctype for storing role profile of users
Diagnostics
Conflicts detected for source commit: 72c2207e0fa66c806a9f21db0753d582b334fa9b
- DU frappe/custom/doctype/doctype_layout/patches/convert_web_forms_to_doctype_layout.py
- DU frappe/tests/tests_geo_utils.py
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-24745
# Make changes then rebase
git rebase -i upstream/develop --reapply-cherry-picks
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease