Gathering detailed insights and metrics for seneca-entity-access
Gathering detailed insights and metrics for seneca-entity-access
Gathering detailed insights and metrics for seneca-entity-access
Gathering detailed insights and metrics for seneca-entity-access
npm install seneca-entity-access
Typescript
Module System
Node Version
NPM Version
61.5
Supply Chain
75.9
Quality
72.5
Maintenance
25
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
1,675
Last Day
1
Last Week
5
Last Month
16
Last Year
109
MIT License
9 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Nov 24, 2015
Latest Version
0.2.0
Package Id
seneca-entity-access@0.2.0
Size
6.45 kB
NPM Version
2.11.3
Node Version
0.10.38
Cumulative downloads
Total Downloads
4
The new entity-access layer provides a simpler way to resolve the same requirements that the existing seneca-perm module currently handles.
But because you might already have a configured app, it might not be feasible to re-develop the entire access control layer you have written.
This module will allow you to drive the new entity-access layer through a mostly-unmodified 'seneca-perm' options object.
entities/foo/acl.js
file.1var db = require('../db'); 2 3var aclSeneca = require('seneca-entity-access/perm'); 4var perms = require('./config/options.permissions'); 5 6module.exports = aclSeneca(db, 'foo', perms.accessControls);
entities/foo/index.js
Go through each acl in the options.permissions file manually.
You only care about records that match all of these criteria :
For each of these records, make the following changes :
reject: true
to the object.
ie: users in manual blacklist are NOT allowed.(see acl documentation)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
1
Compared to previous day
Last Week
66.7%
5
Compared to previous week
Last Month
23.1%
16
Compared to previous month
Last Year
45.3%
109
Compared to previous year