• Enhanced permissions detection and auto-restoration