Community mailing list archives

community@mail.odoo.com

Re: Benevolent Record Dictator

by
Cristian Salamea
- 10/20/2015 14:35:48


On Tue, Oct 20, 2015 at 1:12 PM, David Arnold <dar@devco.co> wrote:
Andre, thanks for your reply.

If I'm not wrong, remove permissions is possible. An easy pattern could even be to base the permissions filter on the create_uid column of the system user (create_uid = 1).

But, here is the point. If you have read access, it does not hide the "edit button", so there is awkward behavior:
- You try to edit a record, make changes, invest one hour and at saving time, there is an error, that you don't have permissions. This is not very cool.


You sure about hide buttons ?

In 8.0 works perfect.

 
Probably the edit button can be made invisible elegantly on such cases with an additional rule? this would be a nice workaround, although hacky, because, I suppose, that the rule is true: no edit rights = no edit button.

Someone must have had this problem in the past???!!!???

Best, David

El mar., 20 oct. 2015 a las 5:58, André P. (<app@thinkopen.solutions>) escribió:
What do you have in mind regarding the look & feel? I mean, loading records from data files and removing write/create/unlink permissions is already possible (not at field-level, unfortunately, but that can be workaround with a custom module if needed).



2015-10-19 21:12 GMT+01:00 David Arnold <dar@devco.co>:
Hi

I want to ask you, dear community member, if you know of someone, who has been able to govern "system" records centrally.

What I want to do is:
- Create records from data files
- Protect those records, so that they are not editable (ideally fine-grained on fields)
- Manage those records completely from a central managing instance.

The problem with the existing mechanism is that it does not alter the look and feel of the frontend. It just blocks the records for access with an ugly access message.

Anyone got an idea?

Many thanks, David

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
 André Paramés 
ODOO CONSULTANT
m  +351 939 158 257
e    app@thinkopen.solutions
 
 LISBOA | Avenida das Túlipas, nº 6, 13º A/B  1495-161 Algés

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
 
Cristian Salamea on about.me
 
Cristian Salamea
about.me/ovnicraft