Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nest-authz

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nest-authz - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

2

dist/src/services/authz-management.service.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc