Fixed code to use guardian instead of mentor permission