simple-access
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "simple-access", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Attribute-Role-Based Hybrid Access Control Library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/m-elbably/simple-access#readme", |
@@ -57,5 +57,3 @@ # **Simple Access** | ||
<center> | ||
<img src="res/images/role.svg" alt="Role Structure"> | ||
</center> | ||
![Role Structure](res/images/role.svg) | ||
@@ -65,9 +63,9 @@ **Role Schema** | ||
{ | ||
"name": "string", // Role name | ||
"name": "string", | ||
"resources": [ | ||
{ | ||
"name": "string", // Resource name | ||
"name": "string", | ||
"actions": [ | ||
{ | ||
"name": "string", // Action name | ||
"name": "string", | ||
"attributes": ["string"], | ||
@@ -88,6 +86,5 @@ "conditions": ["object"], | ||
Permission describes the way in which a subject may access a resource | ||
<center> | ||
<img src="res/images/permission.svg" alt="Permission Structure"> | ||
</center> | ||
![Permission Structure](res/images/permission.svg) | ||
**Permission Schema** | ||
@@ -165,5 +162,3 @@ ```json | ||
<center> | ||
<img src="res/images/how-it-works.svg" alt="How Simple Access Works"> | ||
</center> | ||
![How Simple Access Works](res/images/how-it-works.svg) | ||
@@ -248,7 +243,3 @@ Let's use the following set of roles as an example: | ||
"attributes": ["*"] | ||
}, | ||
... | ||
}, | ||
"order": { | ||
... | ||
} | ||
} | ||
@@ -255,0 +246,0 @@ }, |
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
1176818
393