Fixed authorization rule for reading of a bug.
Implemented events for fixing and rejecting of bugs.