Claims

Latest version: v0.3.0

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.1

Features

* Ability, ClaimSet and Claim ([1](https://github.com/eturino/claims.py/issues/1)) ([bc0f2b5](https://github.com/eturino/claims.py/commit/bc0f2b5c19a6f3b30a5355d127bff7fa4a7f27b0))


Bug Fixes

* add key_set and attrs as dependency ([e502d59](https://github.com/eturino/claims.py/commit/e502d59cf58b2a14d179e5d44c00c9d0ebdb00b6))


Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

[0.3.1](https://github.com/eturino/claims.ts/compare/v0.3.0...v0.3.1) (2023-09-19)


Features

* adding more allowed verbs: "admin", "read", "delete", "create", "update", "manage" ([6e90a42](https://github.com/eturino/claims.ts/commit/6e90a42a9fc6f7b59d26ffd93b78ef9b35050322))

[0.3.0](https://github.com/eturino/claims.ts/compare/v0.2.1...v0.3.0) (2022-04-06)


⚠ BREAKING CHANGES

* the peer dependency of eturino/key-set is updated to v5.x

Features

* adding clone() and updating to KeySet 5.x ([1e02765](https://github.com/eturino/claims.ts/commit/1e02765af382e53851c433458328b50340be7edb))

[0.2.1](https://github.com/eturino/claims.ts/compare/v0.2.0...v0.2.1) (2022-02-23)


Features

* added `claimSet.toJSONString()` and `ability.cacheID` ([5580d3f](https://github.com/eturino/claims.ts/commit/5580d3f83ca0680cd4b49d5447128f0d5034317a))

[0.2.0](https://github.com/eturino/claims.ts/compare/v0.1.10...v0.2.0) (2022-02-21)


⚠ BREAKING CHANGES

* The type of the `verb` of a claim is now AllowedVerbs which is `"admin" | "read"`

Features

* frozen claim set ([dfbf30d](https://github.com/eturino/claims.ts/commit/dfbf30d278dd18fbbbbeee33a8e7e2c50bfd5fd1))

[0.1.10](https://github.com/eturino/claims.ts/compare/v0.1.9...v0.1.10) (2022-02-16)


Features

* isValidClaimString ([12639c6](https://github.com/eturino/claims.ts/commit/12639c69c07d838705ec01c1ac414c823f177b91))

[0.1.9](https://github.com/eturino/claims.ts/compare/v0.1.8...v0.1.9) (2021-02-05)

[0.1.8](https://github.com/eturino/claims.ts/compare/v0.1.7...v0.1.8) (2021-01-26)

[0.1.7](https://github.com/eturino/claims.ts/compare/v0.1.6...v0.1.7) (2020-05-27)


Features

* abilityaccessToResources(query): KeySet<string> with access to children of given query ([b652775](https://github.com/eturino/claims.ts/commit/b65277529c565f0d0d9ba30b9d0b1b83695d5321))

[0.1.6](https://github.com/eturino/claims.ts/compare/v0.1.5...v0.1.6) (2020-05-12)

[0.1.5](https://github.com/eturino/claims.ts/compare/v0.1.4...v0.1.5) (2020-05-12)


Bug Fixes

* target ES2017 instead of esnext for module, and ES2015 for main ([dee3c6d](https://github.com/eturino/claims.ts/commit/dee3c6dc869c2c7f9a9a28f4038027c20c4c9765))

[0.1.4](https://github.com/eturino/claims.ts/compare/v0.1.3...v0.1.4) (2020-04-29)

[0.1.3](https://github.com/eturino/claims.ts/compare/v0.1.2...v0.1.3) (2020-04-14)

[0.1.2](https://github.com/eturino/claims.ts/compare/v0.1.1...v0.1.2) (2019-09-12)


Features

* claim.toString() to return "verb:resource" or "verb:*" (also better docs) ([a86989c](https://github.com/eturino/claims.ts/commit/a86989c))

[0.1.1](https://github.com/eturino/claims.ts/compare/v0.1.0...v0.1.1) (2019-09-09)


Bug Fixes

* exporting all needed data + refactor ([12b1a63](https://github.com/eturino/claims.ts/commit/12b1a63))

0.1.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.