Vendors permission in Admin > Roles for our own vendors, None, Read, Modify or Full, which database update 4.4.6 sets to what each role had: without it the menu opens the clients' vendors, our vendors' pages, quick looks, export and search are refused, and a client's license, network, ticket or service naming one shows only its name; links from a client's license or service to one of our vendors open it again; 26.12.6 changelog

This commit is contained in:
johnnyq
2026-12-05 01:58:55 -05:00
parent de83a2d480
commit ac089c6af8
25 changed files with 185 additions and 40 deletions

View File

@@ -16,6 +16,7 @@ enforceUserPermission('module_support');
$software_id = intval($_GET['id'] ?? 0);
$license = softwareRow($software_id);
$license = $license ? vendorRedact($license, $license['vendor_id']) : $license;
if (!$license) {
echo json_encode(['error' => 'That license no longer exists.']);
exit;