[Fixes 72675318] create permission entity

empty db file inside. have to branch from current branch for further working on this
exceptions or privileges?