Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
STOP AND READ THIS
APX or Apex is no longer maintained and is superseded by Kado.
A new package is available to handle all your JavaScript needs. See kado.org for details.
Implementation of node-roles through an APX intitializer. Provides apx.roles
which can be used to test permissions.
The initializer sets up configuration options to build the definitions used in the role object.
Also, apx-helper-crud implements the roles
initializer if it is loaded
at startup.
roles.apps
yes
null
This is an array of of apps and their respective roles.
Example
module.exports = {
apps: [
{name: 'myapp', roles: ['find','list','save','remove']}
]
}
roles.profiles
yes
null
Profiles are used to check roles against the currently logged in user. They are required and should list the available roles to the profile these are called permissions.
Example
module.exports = {
apps: [
{name: 'myapp', roles: ['find','list','save','remove']}
],
profiles: [
{name: 'manager', roles: ['myapp.find','myapp.list','myapp.save']},
{name: 'admin', roles: ['myapp.*']}
]
}
FAQs
Initializer for node-roles for APX API server
The npm package apx-roles receives a total of 2 weekly downloads. As such, apx-roles popularity was classified as not popular.
We found that apx-roles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.