|
1 | 1 | # fsaba |
2 | 2 |
|
3 | | -[](https://www.npmjs.com/package/@silvermine/fsaba) |
4 | | -[](./LICENSE) |
5 | | -[](https://travis-ci.com/silvermine/fsaba) |
6 | | -[](https://coveralls.io/github/silvermine/fsaba?branch=master) |
7 | | -[](https://david-dm.org/silvermine/fsaba) |
8 | | -[](https://david-dm.org/silvermine/fsaba#info=devDependencies&view=table) |
9 | | -[](https://conventionalcommits.org) |
| 3 | +[![NPM Version][npm-version]][npm-version-url] |
| 4 | +[![License][license-badge]][license-url] |
| 5 | +[![Coverage Status][coverage-badge]][coverage-url] |
| 6 | +[![Conventional Commits][conventional-commits-badge]][conventional-commits-url] |
| 7 | + |
| 8 | +[npm-version]: https://img.shields.io/npm/v/@silvermine/fsaba.svg |
| 9 | +[npm-version-url]: https://www.npmjs.com/package/@silvermine/fsaba |
| 10 | +[license-badge]: https://img.shields.io/github/license/silvermine/fsaba.svg |
| 11 | +[license-url]: ./LICENSE |
| 12 | +[coverage-badge]: https://coveralls.io/repos/github/silvermine/fsaba/badge.svg?branch=master |
| 13 | +[coverage-url]: https://coveralls.io/github/silvermine/fsaba?branch=master |
| 14 | +[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg |
| 15 | +[conventional-commits-url]: https://conventionalcommits.org |
10 | 16 |
|
11 | 17 | ## What? |
12 | 18 |
|
| 19 | +FSABA (Fine-grained Subject-Action-Based Authorization) is a policy-based authorization |
| 20 | +library. It allows you to define roles with policies that specify what actions subjects |
| 21 | +(users) can perform on which resources, with optional conditions for fine-grained access |
| 22 | +control. |
| 23 | + |
13 | 24 | ## Why? |
14 | 25 |
|
| 26 | +Building authorization logic from scratch is error-prone and often leads to inconsistent |
| 27 | +access control across an application. FSABA provides a declarative, testable approach to |
| 28 | +authorization that separates policy definitions from application code, making it easier to |
| 29 | +reason about and audit permissions. |
| 30 | + |
15 | 31 | ## License |
16 | 32 |
|
17 | 33 | This software is released under the MIT license. See [the license |
18 | 34 | file](LICENSE) for more details. |
19 | | - |
|
0 commit comments