EF implementation for FCore.Permissions