[sr-dev] git:master:6b413cc8: permissions: reworked condition checking group id on db load