Community mailing list archives
Re: Benevolent Record Dictatorby
El Aleman, David Arnold
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.
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???!!!???
El mar., 20 oct. 2015 a las 5:58, André P. (<email@example.com>) 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 <firstname.lastname@example.org>:HiI 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