@laqus/auth-permissions 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -0
- package/README.md +0 -0
- package/authorization/index.d.ts +4 -0
- package/authorization/index.js +21 -0
- package/authorization/index.js.map +1 -0
- package/authorization/lrn.d.ts +68 -0
- package/authorization/lrn.js +146 -0
- package/authorization/lrn.js.map +1 -0
- package/authorization/platform-actions.d.ts +1502 -0
- package/authorization/platform-actions.js +1610 -0
- package/authorization/platform-actions.js.map +1 -0
- package/authorization/platform-policies.d.ts +176 -0
- package/authorization/platform-policies.js +218 -0
- package/authorization/platform-policies.js.map +1 -0
- package/authorization/platform-roles.d.ts +12 -0
- package/authorization/platform-roles.js +23 -0
- package/authorization/platform-roles.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +18 -0
- package/index.js.map +1 -0
- package/package.json +32 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
Copyright 2025 Laqus Software
|
|
2
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
3
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
4
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./lrn"), exports);
|
|
18
|
+
__exportStar(require("./platform-actions"), exports);
|
|
19
|
+
__exportStar(require("./platform-policies"), exports);
|
|
20
|
+
__exportStar(require("./platform-roles"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/authorization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,qDAAmC;AACnC,sDAAoC;AACpC,mDAAiC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representa os objetos dentro da plataforma. É a classe que representa recursos (resources) na plataforma
|
|
3
|
+
* É possível usar coringas '*' para representar todos os itens do conjunto
|
|
4
|
+
* @example escrow 12345 do tenant acme => lrn:laqus:v1:acme-tenant-id:financial-services/contas:escrow:12345
|
|
5
|
+
* @example todas as escrows do tenant acme => lrn:laqus:v1:acme-tenant-id:financial-services/contas:escrow:*
|
|
6
|
+
* @example apenas o resource escrow de qualquer tenant => lrn:laqus:v1::financial-services/contas:escrow
|
|
7
|
+
* @example apenas o resource lancamento de qualquer tenant, num dominio com subdominios => lrn:laqus:v1::depositaria/movimentacao/conciliacao:lancamento
|
|
8
|
+
* @example tudo que está em 'financeiro' => lrn:laqus:v1::financeiro:*:*:*:*
|
|
9
|
+
*/
|
|
10
|
+
export declare class Lrn {
|
|
11
|
+
company: string;
|
|
12
|
+
version: string;
|
|
13
|
+
readonly tenant: string;
|
|
14
|
+
readonly domain: string;
|
|
15
|
+
readonly resource: string;
|
|
16
|
+
readonly resourceId: string | null;
|
|
17
|
+
private static readonly LRN_REGEX;
|
|
18
|
+
constructor(tenant: string | null, domain: string, resourceType: string, resourceId?: string | null);
|
|
19
|
+
toString(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Verifica se o LRN fornecido é válido de acordo com o padrão esperado
|
|
22
|
+
*/
|
|
23
|
+
static validate(lrnString: string): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Analisa uma string LRN e retorna um objeto Lrn
|
|
26
|
+
*/
|
|
27
|
+
static parse(lrnString: string): Lrn;
|
|
28
|
+
/**
|
|
29
|
+
* Cria um LRN com valores padrão para campos opcionais
|
|
30
|
+
*/
|
|
31
|
+
static create(domain: string, resourceType: string, resourceId?: string | null, tenant?: string | null): Lrn;
|
|
32
|
+
/**
|
|
33
|
+
* Cria um LRN para representar o tipo de recurso (sem ID específico)
|
|
34
|
+
*/
|
|
35
|
+
static forResourceType(domain: string, resourceType: string, tenant?: string | null): Lrn;
|
|
36
|
+
/**
|
|
37
|
+
* Cria um LRN coringa que representa todos os recursos de um determinado tipo
|
|
38
|
+
*/
|
|
39
|
+
static forAllResourcesOfType(domain: string, resourceType: string, tenant?: string | null): Lrn;
|
|
40
|
+
/**
|
|
41
|
+
* Cria um LRN coringa que representa todos os recursos em um domínio
|
|
42
|
+
*/
|
|
43
|
+
static forAllResourcesInDomain(domain: string, tenant?: string | null): Lrn;
|
|
44
|
+
/**
|
|
45
|
+
* Cria um LRN coringa que representa todos os recursos de um tenant
|
|
46
|
+
*/
|
|
47
|
+
static forAllResourcesInTenant(tenant: string): Lrn;
|
|
48
|
+
/**
|
|
49
|
+
* Cria um LRN coringa que representa todos os recursos da empresa
|
|
50
|
+
*/
|
|
51
|
+
static forAllResources(): Lrn;
|
|
52
|
+
/**
|
|
53
|
+
* Verifica se este LRN corresponde a um padrão de LRN (que pode incluir coringas)
|
|
54
|
+
*/
|
|
55
|
+
matches(pattern: Lrn): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Verifica se o LRN representa um recurso específico ou um padrão coringa
|
|
58
|
+
*/
|
|
59
|
+
isSpecific(): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Verifica se o LRN identifica apenas o tipo de recurso (sem ID específico)
|
|
62
|
+
*/
|
|
63
|
+
isResourceTypeOnly(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Verifica se o LRN representa todos os recursos de um tipo
|
|
66
|
+
*/
|
|
67
|
+
isAllResourcesOfType(): boolean;
|
|
68
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Lrn = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Representa os objetos dentro da plataforma. É a classe que representa recursos (resources) na plataforma
|
|
6
|
+
* É possível usar coringas '*' para representar todos os itens do conjunto
|
|
7
|
+
* @example escrow 12345 do tenant acme => lrn:laqus:v1:acme-tenant-id:financial-services/contas:escrow:12345
|
|
8
|
+
* @example todas as escrows do tenant acme => lrn:laqus:v1:acme-tenant-id:financial-services/contas:escrow:*
|
|
9
|
+
* @example apenas o resource escrow de qualquer tenant => lrn:laqus:v1::financial-services/contas:escrow
|
|
10
|
+
* @example apenas o resource lancamento de qualquer tenant, num dominio com subdominios => lrn:laqus:v1::depositaria/movimentacao/conciliacao:lancamento
|
|
11
|
+
* @example tudo que está em 'financeiro' => lrn:laqus:v1::financeiro:*:*:*:*
|
|
12
|
+
*/
|
|
13
|
+
class Lrn {
|
|
14
|
+
constructor(tenant, domain, resourceType, resourceId = null) {
|
|
15
|
+
this.company = 'laqus';
|
|
16
|
+
this.version = 'v1';
|
|
17
|
+
this.tenant = tenant || '';
|
|
18
|
+
this.domain = domain;
|
|
19
|
+
this.resource = resourceType;
|
|
20
|
+
this.resourceId = resourceId;
|
|
21
|
+
}
|
|
22
|
+
toString() {
|
|
23
|
+
let lrnString = `lrn:${this.company}:${this.version}`;
|
|
24
|
+
// tenant (ou vazio se não informado)
|
|
25
|
+
lrnString += this.tenant === '' ? ':' : `:${this.tenant}`;
|
|
26
|
+
lrnString += `:${this.domain}:${this.resource}`;
|
|
27
|
+
if (this.resourceId !== null) {
|
|
28
|
+
lrnString += `:${this.resourceId}`;
|
|
29
|
+
}
|
|
30
|
+
return lrnString;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Verifica se o LRN fornecido é válido de acordo com o padrão esperado
|
|
34
|
+
*/
|
|
35
|
+
static validate(lrnString) {
|
|
36
|
+
const lrnRegex = this.LRN_REGEX;
|
|
37
|
+
return lrnRegex.test(lrnString);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Analisa uma string LRN e retorna um objeto Lrn
|
|
41
|
+
*/
|
|
42
|
+
static parse(lrnString) {
|
|
43
|
+
if (!Lrn.validate(lrnString)) {
|
|
44
|
+
throw new Error(`Invalid lrn: ${lrnString}`);
|
|
45
|
+
}
|
|
46
|
+
const match = lrnString.match(this.LRN_REGEX);
|
|
47
|
+
if (!match) {
|
|
48
|
+
throw new Error(`Unable to parse lrn: ${lrnString}`);
|
|
49
|
+
}
|
|
50
|
+
const [_, company, version, tenant, domain, resourceType, resourceId] = match;
|
|
51
|
+
const tenantValue = tenant === '' ? null : tenant;
|
|
52
|
+
const lrn = new Lrn(tenantValue, domain, resourceType, resourceId || null);
|
|
53
|
+
if (company !== lrn.company) {
|
|
54
|
+
lrn.company = company;
|
|
55
|
+
}
|
|
56
|
+
if (version !== lrn.version) {
|
|
57
|
+
lrn.version = version;
|
|
58
|
+
}
|
|
59
|
+
return lrn;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Cria um LRN com valores padrão para campos opcionais
|
|
63
|
+
*/
|
|
64
|
+
static create(domain, resourceType, resourceId = null, tenant = null) {
|
|
65
|
+
return new Lrn(tenant, domain, resourceType, resourceId);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Cria um LRN para representar o tipo de recurso (sem ID específico)
|
|
69
|
+
*/
|
|
70
|
+
static forResourceType(domain, resourceType, tenant = null) {
|
|
71
|
+
return new Lrn(tenant, domain, resourceType);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Cria um LRN coringa que representa todos os recursos de um determinado tipo
|
|
75
|
+
*/
|
|
76
|
+
static forAllResourcesOfType(domain, resourceType, tenant = null) {
|
|
77
|
+
return new Lrn(tenant, domain, resourceType, '*');
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Cria um LRN coringa que representa todos os recursos em um domínio
|
|
81
|
+
*/
|
|
82
|
+
static forAllResourcesInDomain(domain, tenant = null) {
|
|
83
|
+
return new Lrn(tenant, domain, '*', '*');
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Cria um LRN coringa que representa todos os recursos de um tenant
|
|
87
|
+
*/
|
|
88
|
+
static forAllResourcesInTenant(tenant) {
|
|
89
|
+
if (!tenant) {
|
|
90
|
+
throw new Error('Tenant is required for forAllResourcesInTenant');
|
|
91
|
+
}
|
|
92
|
+
return new Lrn(tenant, '*', '*', '*');
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Cria um LRN coringa que representa todos os recursos da empresa
|
|
96
|
+
*/
|
|
97
|
+
static forAllResources() {
|
|
98
|
+
return new Lrn(null, '*', '*', '*');
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Verifica se este LRN corresponde a um padrão de LRN (que pode incluir coringas)
|
|
102
|
+
*/
|
|
103
|
+
matches(pattern) {
|
|
104
|
+
// Se o campo no padrão é '*', considerar como correspondente
|
|
105
|
+
const tenantMatches = pattern.tenant === '*' || this.tenant === pattern.tenant || (pattern.tenant === '' && this.tenant === '');
|
|
106
|
+
// Lógica especial para resourceId:
|
|
107
|
+
// Caso 1: Se o pattern não tem resourceId (null), ele corresponde a recursos sem ID e com ID
|
|
108
|
+
// Caso 2: Se o pattern tem resourceId '*', corresponde a qualquer resourceId
|
|
109
|
+
// Caso 3: Se o pattern tem resourceId específico, deve corresponder exatamente
|
|
110
|
+
const resourceIdMatches = pattern.resourceId === null || pattern.resourceId === '*' || this.resourceId === pattern.resourceId;
|
|
111
|
+
return ((pattern.company === '*' || this.company === pattern.company) &&
|
|
112
|
+
(pattern.version === '*' || this.version === pattern.version) &&
|
|
113
|
+
tenantMatches &&
|
|
114
|
+
(pattern.domain === '*' || this.domain === pattern.domain) &&
|
|
115
|
+
(pattern.resource === '*' || this.resource === pattern.resource) &&
|
|
116
|
+
resourceIdMatches);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Verifica se o LRN representa um recurso específico ou um padrão coringa
|
|
120
|
+
*/
|
|
121
|
+
isSpecific() {
|
|
122
|
+
return (this.company !== '*' &&
|
|
123
|
+
this.version !== '*' &&
|
|
124
|
+
this.tenant !== '*' &&
|
|
125
|
+
this.domain !== '*' &&
|
|
126
|
+
this.resource !== '*' &&
|
|
127
|
+
this.resourceId !== null &&
|
|
128
|
+
this.resourceId !== '*');
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Verifica se o LRN identifica apenas o tipo de recurso (sem ID específico)
|
|
132
|
+
*/
|
|
133
|
+
isResourceTypeOnly() {
|
|
134
|
+
return this.resourceId === null;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Verifica se o LRN representa todos os recursos de um tipo
|
|
138
|
+
*/
|
|
139
|
+
isAllResourcesOfType() {
|
|
140
|
+
return this.resourceId === '*';
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
exports.Lrn = Lrn;
|
|
144
|
+
// Aceita tenant vazio (::) e resourceId opcional - se existir, terá o separador ':'
|
|
145
|
+
Lrn.LRN_REGEX = /^lrn:([^:]+):([^:]+):([^:]*):([^:]+):([^:]+)(?::([^:]+))?$/;
|
|
146
|
+
//# sourceMappingURL=lrn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lrn.js","sourceRoot":"","sources":["../../src/authorization/lrn.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,MAAa,GAAG;IAWf,YAAmB,MAAqB,EAAE,MAAc,EAAE,YAAoB,EAAE,aAA4B,IAAI;QAVzG,YAAO,GAAW,OAAO,CAAC;QAC1B,YAAO,GAAW,IAAI,CAAC;QAU7B,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC9B,CAAC;IAEM,QAAQ;QACd,IAAI,SAAS,GAAG,OAAO,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QAEtD,qCAAqC;QACrC,SAAS,IAAI,IAAI,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QAC1D,SAAS,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9B,SAAS,IAAI,IAAI,IAAI,CAA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