Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Define permissions in website (frontend)
byHello Yves,
You can also enable authentication for specific URI in proxy configuration, depending on your target architecture it might be easier to deploy than overriding Odoo controllers but it will not be configurable by end users.
Best regards,
Rémi CAZENAVE - SCOP Le Filament
https://le-filament.com
De : Simone Orsi <simahawk@gmail.com>
Envoyé : 24 septembre 2020 08:42:05 GMT+02:00
À : Contributors <contributors@odoo-community.org>
Objet : Re: Define permissions in website (frontend)
Hello,How would I grant access to a website but only for a res_partner fulfilling a condition?user case is publishing a list that is only accessible to partners who have "condition = True".Another option would be to have a public page protected by a single password. Maybe in a popup?Is there a module that could help? any pointer?I was thinking to get in the controller, the user's id from the session and then conditionally return the required data but maybe there is an easier way?Thank you--Yves Goldbergodoo| Official Partner - OCA delegateOpen Source ERP, CRM & CMST +972 (3) 720 8818
M +972 (55) 966 1405T +32 (2) 588 2500--_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Define permissions in website (frontend)
byYgol InternetWork, Yves Goldberg-
Re: Define permissions in website (frontend)
byCamptocamp SA, Simone Orsi -
Re: Define permissions in website (frontend)
byYgol InternetWork, Yves Goldberg -
Re: Define permissions in website (frontend)
byLe Filament, Rémi Cazenave -
Re: Define permissions in website (frontend)
byCamptocamp SA, Simone Orsi
-