in authorization objects when i am trying to use authority-check error it is not triggering the write statement in the case statement where i placed , plz tell me why it happends.