Cleaning code Refs #17852
Advanced handling of Advanced MS Acces template permissions Refs #18608
Securityutil unit tests. Refs #18608