Refactored save events for permissions into an observer