[Fixes 72675318] create permission entity

empty db file inside. have to branch from current branch for further working on this
coverage is good from what I can see. checked that already before I created the pull request