Releases: roggervalf/iam-policies
Releases · roggervalf/iam-policies
v4.0.3
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2020-10-26)
Bug Fixes
- resourcebasedstatement: validate principal, notPrincipal, resource and notResource attributes (2aee00c)
- throw Type Error in Identity and Resource statements for actions and resources (78c52ca)
- actionbasedstatement: throw TypeError when action and notAction are present (2e4409d)
- resourcebasedstatement: return true in matchNotPrincipals (f78553e)
Features
- actionbasedpolicy: allow to generate proxy from Action Based Policy (72f4092)
- extending Policy in Identity and Resource Based Policies (bd06fc6)
- actionbasedpolicy: allowing set and get conditionResolver (10bee79)
- actionbasedpolicy: allowing set and get context (3420d87)
BREAKING CHANGES
- new way to contruct Policies instances with a json
v3.5.0
v3.4.1
v3.0.0: chore(release): 1.0.0 [skip ci]
# 1.0.0 (2020-03-06) ### Bug Fixes * exclude dist from ts compile ([9b6b754](https://github.com/Rogger794/iam-policies/commit/9b6b7545bae513100f52b76f8adb230990dbad80)) * nchange node version into travis and package ([4347bd2](https://github.com/Rogger794/iam-policies/commit/4347bd274ed774db84d18584e94b8184befebe0a)) * not rollup test files ([e153fbf](https://github.com/Rogger794/iam-policies/commit/e153fbf5d6d4325ed9ee3d3bd834877d574c2695)) ### Features * **semantic-release:** add semantic-release package ([#12](https://github.com/Rogger794/iam-policies/issues/12)) ([28cf910](https://github.com/Rogger794/iam-policies/commit/28cf9102ca85db4f9dde7907ea3c0b1790e73600))
Fixing notPrincipal Attribute
- Adding unit testing
- Modifying notPrincipal logic as expected
IdentityBased and ResourceBased Policies
-
IdentityBasedPolicy: could be used for user, groups and roles for example.
-
ResourceBasedPolicies: could be used by resources as custom services, databases for example.
Refactoring tests
Add describe sentence in tests and eslint rules.