Skip to content

Conversation

victoralmau
Copy link
Member

Avoid user login error

Use case example:

  • Create an announcement and link users A + B
  • Modify the announcement and leave it linked only to user A
  • Try to log in with user B

Previously, it was not possible to log in because user B still had the announcement linked (unread_announcement_ids) to their user, and when trying to log in, an attempt was made to access a record that the user could not access (except with Announcement Manager permission).

Please @david-banon-tecnativa and @CarlosRoca13 can you review it?

@Tecnativa TT58023

Use case example:
- Create an announcement and link users A + B
- Modify the announcement and leave it linked only to user A
- Try to log in with user B

Previously, it was not possible to log in because user B still had
the announcement linked (unread_announcement_ids) to their user,
and when trying to log in, an attempt was made to access a record
that the user could not access (except with Announcement Manager permission).

TT58023
Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pedrobaeza pedrobaeza added this to the 16.0 milestone Sep 17, 2025
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1152-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5ac09fc into OCA:16.0 Sep 17, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants