Testing for Incorrect Permission Assignment for Critical Resource