SeliseBlocks.Genesis.Framework.RowLevelSecurity
10.0.0.2
dotnet add package SeliseBlocks.Genesis.Framework.RowLevelSecurity --version 10.0.0.2
NuGet\Install-Package SeliseBlocks.Genesis.Framework.RowLevelSecurity -Version 10.0.0.2
<PackageReference Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" Version="10.0.0.2" />
<PackageVersion Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" Version="10.0.0.2" />
<PackageReference Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" />
paket add SeliseBlocks.Genesis.Framework.RowLevelSecurity --version 10.0.0.2
#r "nuget: SeliseBlocks.Genesis.Framework.RowLevelSecurity, 10.0.0.2"
#:package SeliseBlocks.Genesis.Framework.RowLevelSecurity@10.0.0.2
#addin nuget:?package=SeliseBlocks.Genesis.Framework.RowLevelSecurity&version=10.0.0.2
#tool nuget:?package=SeliseBlocks.Genesis.Framework.RowLevelSecurity&version=10.0.0.2
SeliseBlocks.Genesis.Framework.RowLevelSecurity
Row-level security (RLS) implementation for data access control in the Genesis framework.
Project Name & Purpose
SeliseBlocks.Genesis.Framework.RowLevelSecurity provides row-level security enforcement for the Genesis platform. It ensures that users can only access data rows they are authorized to see based on their role, permissions, and tenant context. This library integrates with the repository layer to automatically filter queries and enforce access control at the data level.
Tech Stack
- .NET 10.0 (net10.0)
- Key Libraries:
Microsoft.Extensions.DependencyInjection.Abstractions(10.0.0) - Dependency injection
Dependencies
Internal Project References
| Project | Version | Purpose |
|---|---|---|
| SeliseBlocks.Genesis.Framework.Repositories | 10.0.0.1 | Repository layer |
| SeliseBlocks.Genesis.Framework.RowLevelSecurity.Contracts | 10.0.0.1 | RLS contracts |
NuGet Packages
| Package | Version | Purpose |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.Abstractions | 10.0.0 | DI |
Structure
(no subdirectories - flat structure)
Key Components
Row-Level Security
RowLevelSecurity- Main RLS enforcement classRowLevelSecurityExtensions- Extension methods for DI registrationRowLevelSecurityHandler- Handles RLS policy applicationRowLevelSecurityRepository- Repository with RLS filteringUserReadableData- Represents user-readable data records
Role Interpretation
RoleInterpretor- Interprets roles and permissionsSystemDefinedRoles- System-defined role constants
How It Works
Query Interception: When a repository query is executed, the RLS layer automatically adds filter criteria based on the current user's permissions.
Role Interpretation: The
RoleInterpretortranslates user roles into data access rules.Tenant Isolation: Multi-tenant data is automatically filtered by tenant ID.
Permission Checks: Before returning data, the system verifies the user has permission to access each record.
Notes
Row-level security is critical for multi-tenant deployments. This library ensures complete data isolation between tenants and enforces granular access control within an organization.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SeliseBlocks.Genesis.Framework.Repositories (>= 10.0.0.2)
- SeliseBlocks.Genesis.Framework.RowLevelSecurity.Contracts (>= 10.0.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SeliseBlocks.Genesis.Framework.RowLevelSecurity:
| Package | Downloads |
|---|---|
|
SeliseBlocks.Genesis.Framework.Domain
Framework Domain |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0.2 | 0 | 8/16/2026 |
| 10.0.0.1 | 0 | 8/16/2026 |
| 8.0.1.8 | 160 | 7/8/2026 |
| 8.0.1.7 | 134 | 7/7/2026 |
| 8.0.1.6 | 138 | 6/30/2026 |
| 8.0.1.5 | 192 | 4/22/2026 |
| 8.0.1.3 | 7,030 | 1/19/2026 |
| 8.0.1.2 | 1,889 | 9/4/2025 |
| 8.0.1.1 | 346 | 9/3/2025 |
| 8.0.0.5 | 11,642 | 2/2/2025 |
| 8.0.0.4 | 307 | 1/20/2025 |
| 8.0.0.3 | 291 | 1/20/2025 |
| 8.0.0.2 | 254 | 1/16/2025 |
| 8.0.0.1 | 300 | 1/6/2025 |
| 6.0.3.5 | 172 | 2/17/2026 |
| 6.0.3.4 | 772 | 2/16/2026 |
| 6.0.3.3 | 1,221 | 9/9/2025 |
| 6.0.3.3-rc1 | 168 | 9/13/2025 |
| 6.0.3.2 | 959 | 9/4/2025 |
| 6.0.3.1 | 302 | 9/3/2025 |