Skip to content

[20.0][MIG] project_administrator_restricted_visibility: Migration to 20.0 - #1854

Merged
OCA-git-bot merged 22 commits into
OCA:20.0from
moduon:20.0-mig-project_administrator_restricted_visibility
Nov 24, 2026
Merged

OCA-git-bot merged 22 commits into
OCA:20.0from
moduon:20.0-mig-project_administrator_restricted_visibility

Conversation

@chienandalu

@chienandalu chienandalu commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

@moduon
MT-16583

please review @fcvalgar @EmilioPascual

Ernesto Tejeda and others added 21 commits October 28, 2026 17:57
Currently translated at 100.0% (1 of 1 strings)

Translation: project-13.0/project-13.0-project_administrator_restricted_visibility
Translate-URL: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_administrator_restricted_visibility/it/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-15.0/project-15.0-project_administrator_restricted_visibility
Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_administrator_restricted_visibility/it/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-19.0/project-19.0-project_administrator_restricted_visibility
Translate-URL: https://translation.odoo-community.org/projects/project-19-0/project-19-0-project_administrator_restricted_visibility/sl/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-19.0/project-19.0-project_administrator_restricted_visibility
Translate-URL: https://translation.odoo-community.org/projects/project-19-0/project-19-0-project_administrator_restricted_visibility/de/
… Manager can manage its own projects

Restricted project managers need access to projects they are responsible for, including private projects using invited-user visibility. Limiting the rule to their own projects preserves restrictions on other projects.

@moduon MT-16193
…d tasks

Restricted project admins have full powers over their own projects, but they can't
even see restricted projects out of their visibility scope (invited internal users).

They shouldn't see those project tasks either (for other records like timesheets, a
glue module would be needed).

MT-16193
@oca-cla-bot

oca-cla-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@OCA-git-bot OCA-git-bot added mod:project_administrator_restricted_visibility Module project_administrator_restricted_visibility series:20.0 labels Oct 28, 2026
@chienandalu
chienandalu force-pushed the 20.0-mig-project_administrator_restricted_visibility branch from 014c764 to 971c542 Compare November 17, 2026 16:15
@chienandalu
chienandalu marked this pull request as ready for review November 18, 2026 09:56

@EmilioPascual EmilioPascual left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Functional and code review. Thanks for the migration @chienandalu

@chienandalu
chienandalu force-pushed the 20.0-mig-project_administrator_restricted_visibility branch from 971c542 to ca9638f Compare November 20, 2026 09:09

@fcvalgar fcvalgar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you for your great work on this migration @chienandalu!

I have functionally tested the module in Odoo 20.0 with the following results:
Test 1: OK – Restricted administrators can only see authorized projects and tasks.
Test 2: OK – Restricted administrators can create and manage projects and tasks within their permitted scope.
Test 3: OK – Full administrators can access and manage all projects and tasks, including private ones.
Test 4: OK – Direct URL access to unauthorized private projects is correctly blocked.

Evidence: Video

Functional review: Approved.

@rafaelbn

Copy link
Copy Markdown
Member

/ocabot migration project_administrator_restricted_visibility

@OCA-git-bot OCA-git-bot added this to the 20.0 milestone Nov 24, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Nov 24, 2026
3 of 43 tasks

@rafaelbn rafaelbn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Functional review 👍🏼

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 20.0-ocabot-merge-pr-1854-by-rafaelbn-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit a0430c5 into OCA:20.0 Nov 24, 2026
6 of 8 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at a575c18. 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.