View Code? Open in Web Editor
NEW
EntityFramework plugin for implementing database security by hooking database operations.
Home Page: http://entityframeworkguardian.readthedocs.io/
License: MIT License
C# 99.64%
GCC Machine Description 0.36%
entityframework.guardian's People
Contributors
entityframework.guardian's Issues
Change IDBPrincipal
to IPrincipalService
and remove default store of GeneralPermissions
and RowLevelPermissions
in IDbPrincipal
.
Added Guardian Enable/Disable feature.
Refactor policies to allow defining custom policies check permissions one by one
Separate guardian entity interfaces to separate nuget.
Separate IPermission
and IRowPermission
to have 2 types with ColumnRestrictions
and without.
Refactor IProtectableObject Extensions to be more friendly for calling .Protect()
For General Permissions:
.Where(x => x.EntityTypeName == entityTypeName && x.AccessType == accessType)
For Row Level Permissions:
.Where(x => x.EntityTypeName == entityTypeName && x.AccessType == accessType && x.RowIdentifier == rowKey)
Make setting permissions to GuardianKernel more intuitive.
Refactor GeneralPermission name to something more understrandable
Set default value of EnableGuards to true