# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models


class EventRegistration(models.Model):
    _inherit = "event.registration"

    # Allow portal users (who only have read access) to post messages
    # and upload attachments via the portal chatter.
    _mail_post_access = "read"
