OCA / agreement

GNU Affero General Public License v3.0
8 stars 38 forks source link

16.0 agreement_legal: Menu item access #27

Closed houzefa-abba closed 3 weeks ago

houzefa-abba commented 8 months ago

Hi when the agreement_legal module is installed, users without agreement security rights still see the global "Agreements" menu but they cannot access it:

You are not allowed to access 'Agreement Stages' (agreement.stage)

What should be the right fix? 1) Restrain the global "Agreements" menu to agreement security groups 2) Give anyone (ie base.group_user) read access to agreement.stage and the like, to match access rights to agreements themselves which are on base.group_user

To reproduce, connect to 16.0 runboat with demo/demo and click on the global "Agreements" menu: Screenshot at 2023-12-21 14-50-00 Screenshot at 2023-12-21 14-50-12

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.