Enforce permission check before identity clear

Bug: 129679835
Test: build
Change-Id: Ie393db9d7ebfce809eb2d3c79398f611f02938c3
1 file changed