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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" Version="10.0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" Version="10.0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="SeliseBlocks.Genesis.Framework.RowLevelSecurity" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SeliseBlocks.Genesis.Framework.RowLevelSecurity --version 10.0.0.2
                    
#r "nuget: SeliseBlocks.Genesis.Framework.RowLevelSecurity, 10.0.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SeliseBlocks.Genesis.Framework.RowLevelSecurity@10.0.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SeliseBlocks.Genesis.Framework.RowLevelSecurity&version=10.0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=SeliseBlocks.Genesis.Framework.RowLevelSecurity&version=10.0.0.2
                    
Install as a Cake Tool

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 class
  • RowLevelSecurityExtensions - Extension methods for DI registration
  • RowLevelSecurityHandler - Handles RLS policy application
  • RowLevelSecurityRepository - Repository with RLS filtering
  • UserReadableData - Represents user-readable data records

Role Interpretation

  • RoleInterpretor - Interprets roles and permissions
  • SystemDefinedRoles - System-defined role constants

How It Works

  1. Query Interception: When a repository query is executed, the RLS layer automatically adds filter criteria based on the current user's permissions.

  2. Role Interpretation: The RoleInterpretor translates user roles into data access rules.

  3. Tenant Isolation: Multi-tenant data is automatically filtered by tenant ID.

  4. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed