src: handle errors correctly in `permission.cc`
First commit allows to simplify the code I changed in the second one.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
First commit allows to simplify the code I changed in the second one.