Sign In

@absolutejs/admin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@absolutejs/admin

Framework-neutral roles, capabilities, navigation, and security read models for AbsoluteJS site administration.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

@absolutejs/admin

Framework-neutral contracts and policy for a standard AbsoluteJS site administration portal.

The package defines:

  • project roles and their exact capabilities;
  • fail-closed authorization helpers;
  • capability-filtered portal navigation;
  • public, project-scoped security snapshot contracts;
  • deterministic security posture summaries.

It deliberately does not provide authentication, persistence, or a platform-wide operator console. A host such as AbsoluteJS PAAS supplies those adapters and enforces authorization before querying project data.

Roles

RoleIntended access
ownerEvery project operation, including team management and deletion
administratorEvery project operation except deletion
securityRead posture, acknowledge incidents, and manage remediation
developerDeploy, configure, inspect data, and read security posture
viewerRead-only overview, data posture, and security posture
import {
  authorizeSiteAdmin,
  capabilitiesForRole,
  navigationForCapabilities,
} from "@absolutejs/admin";

authorizeSiteAdmin("security", "site.security.respond");

const navigation = navigationForCapabilities(capabilitiesForRole("developer"));

Authorization must be enforced on the server. Navigation filtering is a presentation aid, not a security boundary.

License

Business Source License 1.1. See LICENSE.

Keywords

absolutejs

FAQs

Package last updated on 01 Aug 2026

Did you know?

Socket

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.

Install

Related posts