Calibration & Equipment Pro: Difference between revisions

Jump to navigation Jump to search
Update to version 1.1.7 – Security and Permission Hardening, Dolibarr 24 compatibility and automated validation results.
(Create documentation page for Calibration & Equipment Pro v1.1.6)
(Update to version 1.1.7 – Security and Permission Hardening, Dolibarr 24 compatibility and automated validation results.)
Tag: 2017 source edit
 
Line 1: Line 1:
{{TemplateDocDev}}
{{TemplateDocDev}}


Line 37: Line 38:
*Signature areas in generated PDF records
*Signature areas in generated PDF records
*Dashboard with equipment and compliance indicators
*Dashboard with equipment and compliance indicators
*Role-based access control
*Server-side permission enforcement
*Equipment deletion protection when dependent calibration or maintenance records exist


==Dashboard==
==Dashboard==
Line 70: Line 74:


The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records.
The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records.
Equipment deletion is restricted when associated calibration or maintenance records exist, helping preserve historical traceability.


[[File:CalibrationEquipmentPro_Equipment.png|900x900px]]
[[File:CalibrationEquipmentPro_Equipment.png|900x900px]]
Line 78: Line 84:


The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr.
The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr.
Access to the equipment record remains subject to Dolibarr authentication and module permissions.


Printable QR labels can include equipment identification information such as:
Printable QR labels can include equipment identification information such as:
Line 121: Line 129:


This allows the calibration documentation to remain associated with the corresponding equipment and calibration record.
This allows the calibration documentation to remain associated with the corresponding equipment and calibration record.
Certificate upload, replacement and removal require the appropriate module permissions.


==Maintenance management==
==Maintenance management==
Line 166: Line 176:


[[File:CalibrationEquipmentPro_PDFRecords.png|900x900px]]
[[File:CalibrationEquipmentPro_PDFRecords.png|900x900px]]
==User permissions==
The module integrates with the standard Dolibarr user permission system.
The following permissions are available:
{| class="wikitable"
! Permission
! Description
|-
| READ
| Read equipment, calibrations and maintenance records.
|-
| WRITE
| Create or modify equipment, calibrations and maintenance records.
|-
| DELETE
| Delete equipment, calibrations and maintenance records, subject to applicable dependency restrictions.
|}
Version 1.1.7 introduces enhanced server-side permission enforcement for equipment, calibration and maintenance operations.
Users with read-only permissions cannot access restricted creation, modification or deletion forms.
Direct access to restricted operations is checked on the server, independently of menu and button visibility.


==Installation==
==Installation==
Line 178: Line 214:


Configure user permissions if required.
Configure user permissions if required.
==Updating an existing installation==
To update from version 1.1.6 to version 1.1.7:
#Create a backup of the Dolibarr database and existing module files.
#Deploy the new module ZIP package.
#Verify the installed module version.
#Verify user permissions and access to existing records.
Version 1.1.7 does not introduce database schema changes.
Deactivation and reactivation are not required for this specific update.


==Requirements==
==Requirements==


*Dolibarr 23.x
*Declared Dolibarr compatibility: 23.x – 24.x
*PHP 7.4 or later
*Minimum declared PHP version: 7.4
*MySQL / MariaDB
*MySQL / MariaDB
*Standard Dolibarr document storage
*Standard Dolibarr document storage
Version 1.1.7 was tested on Dolibarr 24.0.0 with PHP 8.3.37.
The previous version 1.1.6 was tested on Dolibarr 23.0.3.
Full regression testing of version 1.1.7 on Dolibarr 23 and older PHP versions has not yet been completed.


The module does not require an external web service.
The module does not require an external web service.
Line 194: Line 249:
*English
*English
*Romanian
*Romanian
==Testing and validation==
Version 1.1.7 was evaluated using the PanciucSoft Universal QA Tester.
The consolidated validation results include:
{| class="wikitable"
! Validation area
! Result
|-
| GET permission validation
| 55/55 PASS
|-
| POST permission validation
| 18/18 PASS
|-
| Functional regression
| 29/29 PASS
|-
| Stable release smoke test
| 22/22 PASS
|-
! Total
! 124/124 PASS
|}
The validation covered equipment CRUD operations, calibration and maintenance workflows, dependency protection, user access restrictions, PDF generation and software-based QR decoding.
Permission and regression tests were performed on version 1.1.7-dev1, followed by a smoke test of the stable 1.1.7 package.
These results apply to the documented test scenarios and do not represent exhaustive validation or regulatory certification.
==Changelog==
===Version 1.1.7 – 2026-12-01===
'''Security & Permission Hardening'''
*Enhanced server-side permission enforcement.
*Restricted unauthorized access to equipment creation and modification forms.
*Restricted unauthorized access to calibration creation and modification forms.
*Restricted unauthorized access to maintenance creation and modification forms.
*Improved permission checks for deletion confirmation actions.
*Enhanced permission checks for calibration certificate management.
*Validated restricted-user and read-only access.
*Completed automated security and functional regression testing on Dolibarr 24.
*No database schema changes.


==Version==
==Version==


Current version: '''1.1.6'''
Current version: '''1.1.7 Stable'''
 
==Availability==
 
The module is available through DoliStore.
 
https://www.dolistore.com


==Support==
==Support==
224

edits

Navigation menu