mirror of
https://github.com/itflow-org/itflow
synced 2026-12-05 18:49:01 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user