Skip to main content
Module

x/iam_policies/CHANGELOG.md

Iam policies implementation for create roles and manage permissions
Latest
File

4.17.0 (2022-08-18)

Features

  • apply-context: support objects with toJSON method as context variables (#88) (ecb3dbc)

4.16.0 (2021-11-17)

Features

  • identity-based-policy: add whyCannot method (#71) (47f21f1)

4.15.0 (2021-11-09)

Features

  • identity-based-policy: add whyCan method (#68) (51d32b2)

4.14.0 (2021-11-08)

Features

  • action-policy: add whyCan and whyCannot methods (#59) (fef8e89)

4.13.0 (2021-10-17)

Features

  • generate-proxy: update Proxy types (#58) (236627a)

4.12.0 (2021-07-26)

Features

  • string: add case-sensitive-matching if exist (stringLikeIfExists) (695961d)

4.11.0 (2021-05-31)

Features

  • date: add matching after a specific date and time operator (dateGreaterThan) (9e5c93d)
  • date: add matching at or after a specific date and time operator (dateGreaterThanEquals) (a0e84ca)

4.10.0 (2021-05-29)

Features

  • date: add matching before a specific date and time operator (dateLessThan) (3c6a7fe)
  • date: add matching at or before a specific date and time (dateLessThanEquals) (e359440)

4.9.0 (2021-05-06)

Features

  • date: add negated date matching condition operator (6081df9)

4.8.2 (2021-04-11)

Bug Fixes

  • evaluate: use context in instantiation in IdentityBasedPolicy and ResourceBasedPolicy (c0f3561), closes #43

4.8.1 (2021-04-09)

Bug Fixes

  • resourcebasedstatement: check principalType when is undefined (34ce2f4), closes #42

4.8.0 (2021-04-05)

Features

  • date: add date exact matching condition operator (07315cc)

4.7.0 (2021-02-28)

Features

  • bool: add boolean matching condition operator (028c968)

4.6.0 (2021-02-25)

Features

  • numeric: add numericEquals condition operator (46b89c8)
  • numeric: add numericGreaterThan condition operator (01384d0)
  • numeric: add numericGreaterThanEquals condition operator (35ad211)
  • numeric: add numericLessThan condition operator (fb75c5f)
  • numeric: add numericLessThanEquals condition operator (7ceb06d)
  • numeric: add numericNotEquals condition operator (1de1638)

4.5.0 (2021-02-21)

Features

  • stringlike: add case sensitive matching with multi character match * (e5f2fc8)

4.4.0 (2021-02-18)

Features

  • stringequalsignorecase: add exact matching string operator, ignoring case (83665fa)
  • stringnotequals: add negated string matching operator (83665fa)
  • stringnotequalsignorecase: add negated string matching operator, ignoring case (83665fa)

4.3.0 (2021-02-16)

Features

  • stringequals: add exact matching string operator (6fd5766)

4.2.1 (2020-12-06)

Bug Fixes

  • matcher: allow ignoring {} by using $, ie ${a} should match with {a} (470f07d), closes #37

4.2.0 (2020-12-05)

Features

  • policies: add addStatement function (fc2697f), closes #35

4.1.0 (2020-11-10)

Features

  • condition: extend condition block type to accept unknown values (38a6daa)
  • context: allow passing objects as context (b78d5fb), closes #15

4.0.3 (2020-11-03)

Bug Fixes

  • types: use object type in generateProxy (8f90ff1)

4.0.2 (2020-10-31)

Bug Fixes

  • sourcemaps: allow sourceMap from ts config (f071ca0)

4.0.1 (2020-10-30)

Bug Fixes

  • types: add this types in public functions in classes (f182fd9)

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: allow to set and get conditionResolver (10bee79)
  • actionbasedpolicy: allow to set and get context (3420d87)

BREAKING CHANGES

  • new way to construct Policies instances with a json

3.5.0 (2020-10-11)

Features

  • sid: generate uuid to set sid in statements as default (c23d6e6), closes #27
  • uuid: add util functions to generate uuid (f7687e6)

3.4.1 (2020-09-06)

Bug Fixes

  • github: try to publish on github (#26) (24d0672)

3.4.0 (2020-08-28)

Features

  • actionbasedpolicy: add new policy, just with actions (994c0ff)

3.3.0 (2020-05-30)

Features

  • getstatements: add public function to get statements in policies (b1aa400)

3.2.0 (2020-05-24)

Bug Fixes

  • baseget: validate value as object instead of null (6998f6d)

Features

  • standalone: keep standalone files in dist directory (72962d3)

Performance Improvements

  • types: bundle d.ts files using rollup-plugin-dts (ea3a17e)

3.1.1 (2020-05-22)

Bug Fixes

  • matcher: * should match at least one character (5a42b66)

3.1.0 (2020-05-03)

Features

  • gettag: add util function to get to string tag of a value (29c981f)
  • iskey: add new util to match property names and paths (97e60ed)
  • issymbol: add new util for checking if a value is a symbol (6ddf3d1)
  • memoize: add new util function to memoize results (c55032d)
  • memoizecapped: add specialized memoize function version (4e88c35)
  • stringtopath: add util to convert string to a property path array (c4d0dd4)
  • tokey: add util to convert value to a string key (8d19068)

Performance Improvements

  • dependencies: upgrade deprecated dev-dependencies (a6f09a9)

3.0.5 (2020-04-30)

Bug Fixes

  • matcher: allow passing / into string comparison for * (94da308), closes #18

3.0.4 (2020-04-12)

Bug Fixes

  • github: update github references (974d818)

3.0.3 (2020-03-30)

Bug Fixes

  • rollup: delete unused external-helpers plugin (2b829de)

3.0.2 (2020-03-20)

Bug Fixes

  • getvaluefrompath: return ConditionKey type values (febbcb7), closes #14

3.0.1 (2020-03-06)

Bug Fixes

  • semantic-release: try semantic-release from travis (91e0384)

3.0.0 (2020-03-06)

Bug Fixes

  • exclude dist from ts compile (9b6b754)
  • change node version into travis and package (4347bd2)
  • not rollup test files (e153fbf)

Features

  • semantic-release: add semantic-release package (#12) (28cf910)

2.0.1 (2020-03-01)

Bug Fixes

  • resourcebasedstatement: fix notprincipal attribute (#9) (cb21c66)

2.0.0 (2020-02-23)

Bug Fixes

Features

  • identitybased and resourcebased: add new policies (#8) (58210b7)

1.3.2 (2020-02-11)

1.3.1 (2020-01-19)

1.3.0 (2020-01-01)

1.2.0 (2019-12-20)