Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2178 Visualizzazioni

I need to prevent ACL re-creation (that were previously deleted) after module upgrade.

Someone can give me some directions here?

We have this help text in ir.model.access model:

if you delete a native ACL, it will be re-created when you reload the module

This is what I need to prevent.

Regards

Avatar
Abbandona
Risposta migliore

As help describe don't delete ACL just Archive it (set Active = False) so it will not re-created on module update.

I think ACL (/Technical/Security/Access Rights) is editable list view without the active field column so Edit the list view and add the active field and untick the active checkbox for the record you want to archive.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mag 24
11937
1
apr 24
2684
0
nov 23
1634
1
set 23
1642
2
ago 23
3935