- Mailing Lists
- Contributors
- Modules for read only User Groups
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Modules for read only User Groups
Hello! I remember seeing some modules, or at least some discussion, to provide User Groups with read only access. But I'm not able to find anything. Does anyone remember this or knows how to point me in the right direction? Thanks Daniel reis
by Daniel Reis <dgreis@sapo.pt> - 11:01 - 11 May 2020
Follow-Ups
-
Re: Modules for read only User Groups
If you want a user with readonly for all models, you can create a group "readonly" and inherit the "ir_model_access.check" method to check if the user has this group so the permission is just read.Something like this:You can use the current groups way to enable menus and models permissions, but if you assign the new readonly group so, this user only will can read (not write, create, unlink) even if the original groups allow.I hope this can be helpful for you.Feel free to contribute it to OCA if you think that it is helpfulDisclaimer1: It is only a POC without a depth analysis.Disclaimer2: Readonly group apply for all models. Maybe, it could be configurable making a few changes.El mar., 12 may. 2020 a las 5:22, Pedro M. Baeza (Tecnativa) (<pedro.baeza@tecnativa.com>) escribió:For me the good OCA module is one that allows this as a general switch, not having to create an specific module for each area (and leaving out possible specific modules). I think this can be done at ORM level overriding write/create or even lower layers, or _check_access.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 10:10 - 18 May 2020 -
Re: Modules for read only User Groups
For me the good OCA module is one that allows this as a general switch, not having to create an specific module for each area (and leaving out possible specific modules). I think this can be done at ORM level overriding write/create or even lower layers, or _check_access.Regards.
by Pedro M. Baeza - 12:21 - 12 May 2020 -
Re: Modules for read only User Groups
Le mar. 12 mai 2020 à 11:22, Daniel Reis <dreis@opensourceintegrators.com> a écrit :I wonder if it could make sense to have this under the OCA.
Yes, why not !Maybe that discussion already happened in the past.
No, it hasn't been discussed in the past. I feel that these modules never received any attention from the community (or maybe some people use it, but I never got any feedback because it "just works"). But I find them very useful.Alexis
by Alexis de Lattre - 12:16 - 12 May 2020 -
Re: Modules for read only User Groups
Thank you Alexis. I wonder if it could make sense to have this under the OCA. Maybe that discussion already happened in the past. /Daniel On 12/05/2020 10:16, Alexis de Lattre wrote: > I confirm that I continue to maintain my viewer-groups modules in this > Akretion project : https://github.com/akretion/odoo-viewer-groups > It is only available on v8, v10 and v12, according to Akretion's > policy to work on even versions of Odoo. > I use those modules on almost all my deployments ; I find it very > useful. I'll certainly port these module to Odoo v14. >
by Daniel Reis - 11:21 - 12 May 2020 -
Re: Modules for read only User Groups
I confirm that I continue to maintain my viewer-groups modules in this Akretion project : https://github.com/akretion/odoo-viewer-groupsIt is only available on v8, v10 and v12, according to Akretion's policy to work on even versions of Odoo.I use those modules on almost all my deployments ; I find it very useful. I'll certainly port these module to Odoo v14.--Alexis de Lattre
Akretion France - 27 rue Henri Rolland - 69100 Villeurbanne - France
Mail : alexis.delattre@akretion.comLe lun. 11 mai 2020 à 11:37, David Beal <david.beal@akretion.com> a écrit :Hi Daniel,probably hereLe lun. 11 mai 2020 à 11:11, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> a écrit :AFAIK, nothing has reached OCA repositories yet about that.Regards._______________________________________________
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
by Alexis de Lattre - 11:15 - 12 May 2020