[Fixes 72675318] create permission entity

empty db file inside. have to branch from current branch for further working on this
because of that "sanitizeForSaving" method, final is not going to work--I guess expose it is not a very big deal. anyway, just for datatransfer