server-backend icon indicating copy to clipboard operation
server-backend copied to clipboard

[16.0][FIX] base_user_role: default roles

Open danielduqma opened this issue 1 year ago • 3 comments

When granting access to a contact, a copy from Portal User Template is made for it. But applied default roles are the ones from Default User Template, causing an error when trying to assign both internal and portal types to new user.

Steps to reproduce

  1. Create a new role, assigning it group User types / Internal User
  2. Assign this role to user Default User Template
  3. Grant access to a res.partner (Actions > Grant portal access and then GRANT ACCESS)

image

FL-556-4543

danielduqma avatar Oct 30 '24 12:10 danielduqma

Hi @sebalix, @novawish, @jcdrubay, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar Oct 30 '24 12:10 OCA-git-bot

Done @StefanRijnhart, thanks for the feedback!

Regards

danielduqma avatar Jan 13 '25 08:01 danielduqma

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

OCA-git-bot avatar Mar 27 '25 13:03 OCA-git-bot

/ocabot merge patch

dreispt avatar May 18 '25 18:05 dreispt

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-319-by-dreispt-bump-patch, awaiting test results.

OCA-git-bot avatar May 18 '25 18:05 OCA-git-bot

Congratulations, your PR was merged at c756460d266dbe3b2a49deb248d11a267a0f686d. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar May 18 '25 18:05 OCA-git-bot