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

simple-access

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-access - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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 @@ },

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