nest-authz
Advanced tools
Comparing version 2.7.0 to 2.8.0
import * as casbin from 'casbin'; | ||
export declare class AuthZManagementService { | ||
private readonly enforcer; | ||
readonly enforcer: casbin.Enforcer; | ||
constructor(enforcer: casbin.Enforcer); | ||
@@ -5,0 +5,0 @@ getAllSubjects(): Promise<string[]>; |
import * as casbin from 'casbin'; | ||
export declare class AuthZRBACService { | ||
private readonly enforcer; | ||
readonly enforcer: casbin.Enforcer; | ||
constructor(enforcer: casbin.Enforcer); | ||
@@ -5,0 +5,0 @@ getRolesForUser(name: string, domain?: string): Promise<string[]>; |
{ | ||
"name": "nest-authz", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "Nest.js RBAC & ABAC authorization module based on Node-Casbin", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,3 +12,3 @@ import { Injectable, Inject } from '@nestjs/common'; | ||
@Inject(AUTHZ_ENFORCER) | ||
private readonly enforcer: casbin.Enforcer | ||
public readonly enforcer: casbin.Enforcer | ||
) {} | ||
@@ -15,0 +15,0 @@ |
@@ -14,3 +14,3 @@ import { Injectable, Inject } from '@nestjs/common'; | ||
@Inject(AUTHZ_ENFORCER) | ||
private readonly enforcer: casbin.Enforcer | ||
public readonly enforcer: casbin.Enforcer | ||
) {} | ||
@@ -17,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92130