Contributors mailing list archives
Re: Define permissions in website (frontend)by
Comunitea, Rubén Seijas
With module auth_signup you have a auth_signup_uninvited system parameter, then if you set it to False only users with login can access your website. That access can be granted by portal wizard action to users you wish as well.
El mié., 23 sept. 2020 a las 17:07, Yves Goldberg (<firstname.lastname@example.org>) escribió:
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--