Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 692 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 692 Bytes

sa-permissions

npm version

--- ATTENTION: this source code is No longer actively maintained ---

Utilities to add permissions check to your TypeScript/JavaScript app.

examples

[in progress, see examples folder]

const params: HasPermissionsArgs = {
	id: id,
	domain: 'Items',
	permissionType: PermissionType.View,
}
const result = appSecurity.hasPermissions(params)
Unit tests results

Remarks

Dependabots vulnerabilities last fixed on 08/08/2021

"build": "tsc --preserveSymlinks true; npm run rollup-browser",