RoleMining.Library
1.1.1
See the version list below for details.
dotnet add package RoleMining.Library --version 1.1.1
NuGet\Install-Package RoleMining.Library -Version 1.1.1
<PackageReference Include="RoleMining.Library" Version="1.1.1" />
paket add RoleMining.Library --version 1.1.1
#r "nuget: RoleMining.Library, 1.1.1"
// Install RoleMining.Library as a Cake Addin #addin nuget:?package=RoleMining.Library&version=1.1.1 // Install RoleMining.Library as a Cake Tool #tool nuget:?package=RoleMining.Library&version=1.1.1
RoleMining.Library
This is a work-in-progress C# library designed for mining roles from a Role-Based Access Control (RBAC) system. The library aims to provide various algorithms that help reduce the number of extra accesses granted to users. It achieves this by:
Standard Accesses: Suggestions for accesses that can be made standard within a given role, thereby reducing the number of extra accesses assigned to users.
Role Creation: Recommendations for new roles to be created based on user access patterns, enhancing the overall efficiency of the access control system.
As the library is still under development, additional features and enhancements will be added over time.
Features (For now)
- JaccardIndices method that takes a list of UserAccess and UserInRole objects as input and outputs a list of JaccardIndex objects. This is useful for getting an overview of which extra accesses fit each role.
- UserAccess and UserInRole classes for input.
Syntax
JaccardIndices
RoleMining.JaccardIndices(IEnumerable<UserAccess> userAccesses, IEnumerable<UserInRole> userInRoles)
// Return type is Jaccard
Classes
public class UserAccess
{
public string UserID { get; set; }
public string AccessLevelID { get; set; }
public string AccessID { get; set; }
}
public class UserInRole
{
public string RoleID { get; set; }
public string UserID { get; set; }
}
public class JaccardIndex
{
public double JaccardIndex { get; set; }
public string RoleID { get; set; }
public string AccessID { get; set; }
public int UsersWithAccess { get; set; }
public int UsersWithoutAccess { get; set; }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- fluentvalidation (>= 8.6.3 && <= 11.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
First release of the RoleMining library.
Includes the method MineRoles and some classes