Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 6 models 2 views 0 HTTP endpoints

Description

This module add per-company switch block_project_portal_access under Settings > Project. Active by default.

For a blocking company:

  • A constraint forbids privacy_visibility = 'portal' (default becomes employees).
  • A post_init_hook migrates existing portal projects. This alone removes portal read access.
  • A mixin on project.project/project.task also denies portal users in _search/_check_access. This adds an additional security without deleting existing ir.model.access
  • The "Share Project" / "Share Task" actions are unbound. Calling them, for example from the code, raises an error. An uninstall_hook restores them.

Scoped per company (multi-company friendly) and fully reversible.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.form.inherit.project.no.portal res.config.settings form Inherits project.res_config_settings_view_form
view_task_kanban project.task.kanban.no.portal project.task kanban Inherits project.view_task_kanban

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • privacy_visibility Selection
    default=<expr>
Public methods (1)
  • action_open_share_project_wizard(self)

New fields (1)
  • portal_share_blocked Boolean
    compute='_compute_portal_share_blocked'
Public methods (0)

No public methods.

New fields (1)
  • block_project_portal_access Boolean
    default=False help='When enabled, portal users of this company cannot read its projects or tasks, and portal visibility cannot be set on them.' string='Block portal access to projects and tasks'
Public methods (1)
  • write(self, vals)

New fields (1)
  • block_project_portal_access Boolean
    help='When enabled, portal users of the selected company cannot read its projects or tasks, and portal visibility cannot be set on them.' readonly=False related='company_id.block_project_portal_access' string='Block portal access to projects and tasks'
Public methods (0)

No public methods.