add permissions and role module rbac proto files
All checks were successful
Publish / Publish Job (push) Successful in 2m36s
All checks were successful
Publish / Publish Job (push) Successful in 2m36s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.0.53",
|
"version": "1.0.54",
|
||||||
"description": "Protobuf definitions and generated TypeScript types",
|
"description": "Protobuf definitions and generated TypeScript types",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ message GetAllPermissionsRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message GetAllPermissionsResponse {
|
message GetAllPermissionsResponse {
|
||||||
|
Permission permission = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Permission {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
string code = 2;
|
string code = 2;
|
||||||
string description = 3;
|
string description = 3;
|
||||||
@@ -30,6 +34,10 @@ message GetAllRolesRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message GetAllRolesResponse {
|
message GetAllRolesResponse {
|
||||||
|
Roles roles = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Roles {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
int32 level = 3;
|
int32 level = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user