This error occurs in case the action defines some authorized groups while the groups that can view the menuitem is not a subset of the action's groups.
I propose to add a 'test_menu_action' helper to catch those in the unittests.
Doing it showed that a lot (if not all) configuration actions should have their groups value set.
The attached review begins fixing it.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
New changeset cc7b864316c6 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account/rev/cc7b864316c6
Roundup Robotadded 1 deleted label and removed 1 deleted label
New changeset c9c50644fa59 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_asset/rev/c9c50644fa59
New changeset 197a8db30bce by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_credit_limit/rev/197a8db30bce
New changeset 08b4cb26fd59 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_dunning/rev/08b4cb26fd59
New changeset 54f958981ce2 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_dunning_letter/rev/54f958981ce2
New changeset 52293c604162 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_invoice/rev/52293c604162
New changeset 0056c0fcdd29 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_invoice_history/rev/0056c0fcdd29
New changeset 74e6f427c2ec by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_invoice_line_standalone/rev/74e6f427c2ec
New changeset e161da73303f by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_invoice_stock/rev/e161da73303f
New changeset aaa3f5428c6b by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_payment/rev/aaa3f5428c6b
New changeset e2b5ff208ba4 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_payment_clearing/rev/e2b5ff208ba4
New changeset 7e5e84039e05 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_payment_sepa/rev/7e5e84039e05
New changeset 2953264f9ad8 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_product/rev/2953264f9ad8
New changeset df9f30c71a36 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_statement/rev/df9f30c71a36
New changeset c573207276af by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_stock_anglo_saxon/rev/c573207276af
New changeset fec00068e983 by Nicolas ?vrard in branch 'default':
Add test for access rights of menu and actions
http://hg.tryton.org/modules/account_stock_continental/rev/fec00068e983