In the vendors vue app, if a patron doesn't have the full set of permissions (i.e. acquisitions: '*') then all acquisitions permissions are ignored To recreate: 1) Create or edit a user to have all acquisitions permissions except one (not relevant which one, any will do) 2) Log into the staff interface and go to acquisitions > vendors and click the vendor in the table 3) The left menu will be missing everything except invoices
Created attachment 186859 [details] [review] Bug 40868: Restore full list of permissions to the vendors app This patch adjusts the logic to consider all permissions and not just the top level flags Test plan: 1) Create or edit a user to have all acquisitions permissions except one (not relevant which one, any will do) 2) Log into the staff interface and go to acquisitions > vendors and click the vendor in the table 3) The left menu will be missing everything except invoices 4) Apply patch and restart_all 5) Refresh the page, the menu should now be populated
Created attachment 186919 [details] [review] Bug 40868: Restore full list of permissions to the vendors app This patch adjusts the logic to consider all permissions and not just the top level flags Test plan: 1) Create or edit a user to have all acquisitions permissions except one (not relevant which one, any will do) 2) Log into the staff interface and go to acquisitions > vendors and click the vendor in the table 3) The left menu will be missing everything except invoices 4) Apply patch and restart_all 5) Refresh the page, the menu should now be populated Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>