chyz 1.0.13-rc.20 → 1.0.13-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/BaseChyz.ts +4 -19
  2. package/Examples/Controllers/ApiController.ts +22 -22
  3. package/Examples/Controllers/SiteController.ts +8 -18
  4. package/Examples/Models/Categories.ts +2 -1
  5. package/Examples/Models/KeycloakUser.ts +0 -4
  6. package/Examples/Models/User.ts +1 -8
  7. package/Examples/index.ts +0 -5
  8. package/Examples/log/app.log +0 -4322
  9. package/Examples/log/errors.log +0 -458
  10. package/README.md +12 -265
  11. package/base/ActionFilter.ts +1 -1
  12. package/base/BaseError.ts +1 -3
  13. package/base/Model.ts +29 -43
  14. package/base/ModelManager.ts +1 -6
  15. package/base/RestClient.ts +4 -4
  16. package/base/ValidationHttpException.ts +1 -1
  17. package/base/index.ts +0 -1
  18. package/dist/BaseChyz.js +4 -17
  19. package/dist/BaseChyz.js.map +1 -1
  20. package/dist/base/ActionFilter.js +1 -1
  21. package/dist/base/ActionFilter.js.map +1 -1
  22. package/dist/base/BaseError.js +1 -5
  23. package/dist/base/BaseError.js.map +1 -1
  24. package/dist/base/Model.js +2 -12
  25. package/dist/base/Model.js.map +1 -1
  26. package/dist/base/ModelManager.js +8 -0
  27. package/dist/base/ModelManager.js.map +1 -1
  28. package/dist/base/RestClient.js +4 -4
  29. package/dist/base/RestClient.js.map +1 -1
  30. package/dist/base/ValidationHttpException.js +1 -1
  31. package/dist/base/index.js +0 -1
  32. package/dist/base/index.js.map +1 -1
  33. package/dist/filters/AccessControl.js +3 -15
  34. package/dist/filters/AccessControl.js.map +1 -1
  35. package/dist/filters/AccessRule.js +38 -99
  36. package/dist/filters/AccessRule.js.map +1 -1
  37. package/dist/filters/auth/HttpBasicAuth.js +0 -65
  38. package/dist/filters/auth/HttpBasicAuth.js.map +1 -1
  39. package/dist/filters/auth/JwtHttpBearerAuth.js +1 -1
  40. package/dist/filters/auth/JwtHttpBearerAuth.js.map +1 -1
  41. package/dist/filters/auth/index.js +0 -1
  42. package/dist/filters/auth/index.js.map +1 -1
  43. package/dist/package.json +5 -4
  44. package/dist/web/WebUser.js +0 -78
  45. package/dist/web/WebUser.js.map +1 -1
  46. package/filters/AccessControl.ts +6 -19
  47. package/filters/AccessRule.ts +16 -61
  48. package/filters/auth/HttpBasicAuth.ts +0 -68
  49. package/filters/auth/JwtHttpBearerAuth.ts +1 -1
  50. package/filters/auth/index.ts +0 -1
  51. package/package.json +5 -4
  52. package/web/IdentityInterface.ts +0 -6
  53. package/web/WebUser.ts +1 -88
  54. package/Doc/Moel kullanma.md +0 -13
  55. package/Examples/Controllers/BasicApiController.ts +0 -121
  56. package/Examples/Models/AuthAssignment.ts +0 -50
  57. package/Examples/Models/AuthItem.ts +0 -59
  58. package/Examples/Models/AuthItemChild.ts +0 -49
  59. package/base/InvalidArgumentException.ts +0 -16
  60. package/dist/base/InvalidArgumentException.js +0 -18
  61. package/dist/base/InvalidArgumentException.js.map +0 -1
  62. package/dist/rbac/AuthAssignment.js +0 -45
  63. package/dist/rbac/AuthAssignment.js.map +0 -1
  64. package/dist/rbac/AuthItem.js +0 -52
  65. package/dist/rbac/AuthItem.js.map +0 -1
  66. package/dist/rbac/AuthItemChild.js +0 -44
  67. package/dist/rbac/AuthItemChild.js.map +0 -1
  68. package/dist/rbac/AuthManager.js +0 -359
  69. package/dist/rbac/AuthManager.js.map +0 -1
  70. package/rbac/AuthAssignment.ts +0 -50
  71. package/rbac/AuthItem.ts +0 -57
  72. package/rbac/AuthItemChild.ts +0 -50
  73. package/rbac/AuthManager.ts +0 -398
@@ -1524,461 +1524,3 @@
1524
1524
  sql: 'SELECT "CategoriesClass"."id", "CategoriesClass"."title", "CategoriesClass"."properties", "ProductsClasses"."id" AS "ProductsClasses.id", "ProductsClasses"."title" AS "ProductsClasses.title", "ProductsClasses"."model_id" AS "ProductsClasses.model_id", "ProductsClasses"."properties" AS "ProductsClasses.properties", "ProductsClasses->ProductToCategoriesClass"."product_id" AS "ProductsClasses.ProductToCategoriesClass.product_id", "ProductsClasses->ProductToCategoriesClass"."category_id" AS "ProductsClasses.ProductToCategoriesClass.category_id", "ProductsClasses->ProductToCategoriesClass"."ProductsClassId" AS "ProductsClasses.ProductToCategoriesClass.ProductsClassId" FROM "categories" AS "CategoriesClass" LEFT OUTER JOIN ( "product_to_categories" AS "ProductsClasses->ProductToCategoriesClass" INNER JOIN "products" AS "ProductsClasses" ON "ProductsClasses"."id" = "ProductsClasses->ProductToCategoriesClass"."ProductsClassId") ON "CategoriesClass"."id" = "ProductsClasses->ProductToCategoriesClass"."category_id";',
1525
1525
  parameters: undefined
1526
1526
  }
1527
- [2021-12-21T15.07.31.187] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1528
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1529
- at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1530
- at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1531
- at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1532
- at Generator.next (<anonymous>)
1533
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1534
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1535
- statusCode: 401
1536
- }
1537
- [2021-12-21T15.08.24.448] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1538
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1539
- at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1540
- at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1541
- at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1542
- at Generator.next (<anonymous>)
1543
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1544
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1545
- statusCode: 401
1546
- }
1547
- [2021-12-21T15.08.37.681] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1548
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1549
- at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1550
- at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1551
- at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1552
- at Generator.next (<anonymous>)
1553
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1554
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1555
- statusCode: 401
1556
- }
1557
- [2021-12-21T15.08.45.905] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1558
- at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1559
- at Generator.next (<anonymous>)
1560
- at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1561
- at new Promise (<anonymous>)
1562
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1563
- at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1564
- at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1565
- at Generator.next (<anonymous>)
1566
- at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1567
- at new Promise (<anonymous>)
1568
- [2021-12-21T15.09.26.818] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1569
- at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1570
- at Generator.next (<anonymous>)
1571
- at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1572
- at new Promise (<anonymous>)
1573
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1574
- at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1575
- at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1576
- at Generator.next (<anonymous>)
1577
- at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1578
- at new Promise (<anonymous>)
1579
- [2021-12-21T15.09.29.037] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1580
- at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1581
- at Generator.next (<anonymous>)
1582
- at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1583
- at new Promise (<anonymous>)
1584
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1585
- at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1586
- at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1587
- at Generator.next (<anonymous>)
1588
- at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1589
- at new Promise (<anonymous>)
1590
- [2021-12-21T15.09.39.005] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1591
- at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1592
- at Generator.next (<anonymous>)
1593
- at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1594
- at new Promise (<anonymous>)
1595
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1596
- at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1597
- at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1598
- at Generator.next (<anonymous>)
1599
- at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1600
- at new Promise (<anonymous>)
1601
- [2021-12-21T15.10.06.525] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1602
- at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1603
- at Generator.next (<anonymous>)
1604
- at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1605
- at new Promise (<anonymous>)
1606
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1607
- at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1608
- at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1609
- at Generator.next (<anonymous>)
1610
- at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1611
- at new Promise (<anonymous>)
1612
- [2022-01-06T13.23.55.090] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: wildcard.replace is not a function
1613
- at wildTest (C:\PROJELER\github\Chy-Nodejs-Framework\requiments\Utils.ts:43:22)
1614
- at Object.matchWildcard (C:\PROJELER\github\Chy-Nodejs-Framework\requiments\Utils.ts:49:12)
1615
- at AccessControl.isActive (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:44:27)
1616
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:28:19)
1617
- at Generator.next (<anonymous>)
1618
- at C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:8:71
1619
- at new Promise (<anonymous>)
1620
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:4:12)
1621
- at AccessControl.beforeFilter (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:23:16)
1622
- at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\Controller.ts:41:43)
1623
- [2022-01-06T13.25.43.412] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1624
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1625
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1626
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1627
- at Array.map (<anonymous>)
1628
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1629
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1630
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1631
- [2022-01-06T13.26.53.002] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1632
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1633
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1634
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1635
- at Array.map (<anonymous>)
1636
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1637
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1638
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1639
- [2022-01-06T13.27.40.670] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1640
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1641
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1642
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1643
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1644
- at Generator.next (<anonymous>)
1645
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1646
- at new Promise (<anonymous>)
1647
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1648
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1649
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1650
- statusCode: 403
1651
- }
1652
- [2022-01-06T13.29.45.053] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1653
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1654
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1655
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1656
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1657
- at Generator.next (<anonymous>)
1658
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1659
- at new Promise (<anonymous>)
1660
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1661
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1662
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1663
- statusCode: 403
1664
- }
1665
- [2022-01-06T13.30.26.585] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1666
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1667
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1668
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1669
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1670
- at Generator.next (<anonymous>)
1671
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1672
- at new Promise (<anonymous>)
1673
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1674
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1675
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1676
- statusCode: 403
1677
- }
1678
- [2022-01-06T13.32.44.831] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1679
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1680
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1681
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1682
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1683
- at Generator.next (<anonymous>)
1684
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1685
- at new Promise (<anonymous>)
1686
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1687
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1688
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1689
- statusCode: 403
1690
- }
1691
- [2022-01-06T13.50.15.173] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: user.can is not a function
1692
- at AccessRule.matchRole (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:26)
1693
- at AccessRule.allows (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:94:21)
1694
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:49:31)
1695
- at Generator.next (<anonymous>)
1696
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1697
- at new Promise (<anonymous>)
1698
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1699
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1700
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20)
1701
- at Generator.next (<anonymous>)
1702
- [2022-01-06T14.09.02.267] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1703
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1704
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1705
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1706
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1707
- at Generator.next (<anonymous>)
1708
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1709
- at new Promise (<anonymous>)
1710
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1711
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1712
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1713
- statusCode: 403
1714
- }
1715
- [2022-01-06T14.16.59.529] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1716
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1717
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1718
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1719
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1720
- at Generator.next (<anonymous>)
1721
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1722
- at new Promise (<anonymous>)
1723
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1724
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1725
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1726
- statusCode: 403
1727
- }
1728
- [2022-01-06T14.18.12.915] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1729
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1730
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1731
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1732
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1733
- at Generator.next (<anonymous>)
1734
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1735
- at new Promise (<anonymous>)
1736
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1737
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1738
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1739
- statusCode: 403
1740
- }
1741
- [2022-01-06T14.33.22.704] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
1742
- at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
1743
- at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:49)
1744
- at AccessRule.matchRole (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:26)
1745
- at AccessRule.allows (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:94:21)
1746
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:49:31)
1747
- at Generator.next (<anonymous>)
1748
- at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1749
- at new Promise (<anonymous>)
1750
- at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1751
- at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1752
- [2022-01-06T14.37.31.638] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1753
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1754
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1755
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1756
- at Array.map (<anonymous>)
1757
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1758
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1759
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1760
- [2022-01-06T14.38.06.106] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1761
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1762
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1763
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1764
- at Array.map (<anonymous>)
1765
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1766
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1767
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1768
- [2022-01-06T14.47.37.649] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1769
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1770
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1771
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1772
- at Array.map (<anonymous>)
1773
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1774
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1775
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1776
- [2022-01-06T14.51.52.952] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1777
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1778
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1779
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1780
- at Array.map (<anonymous>)
1781
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1782
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1783
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1784
- [2022-01-06T14.54.26.416] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1785
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1786
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1787
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1788
- at Array.map (<anonymous>)
1789
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1790
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1791
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1792
- [2022-01-06T15.09.49.783] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1793
- at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1794
- at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1795
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1796
- at Array.map (<anonymous>)
1797
- at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1798
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1799
- at processTicksAndRejections (internal/process/task_queues.js:93:5)
1800
- [2022-01-06T15.11.35.675] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - Error: Association with alias "model" does not exist on ProductsClass
1801
- at Function._transformStringAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:325:15)
1802
- at Function._conformInclude (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:338:22)
1803
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:319:59
1804
- at Array.map (<anonymous>)
1805
- at Function._conformIncludes (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:319:39)
1806
- at Function._baseMerge (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:786:10)
1807
- at Function._defaultsOptions (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:823:17)
1808
- at Function._injectScope (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:3249:10)
1809
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1706:10)
1810
- at ProductsClass.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\base\Model.ts:296:28)
1811
- [2022-01-06T15.18.04.153] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ConnectionError [SequelizeConnectionError]: Connection terminated unexpectedly
1812
- at Client._connectionCallback (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\postgres\connection-manager.js:188:20)
1813
- at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:144:18)
1814
- at Object.onceWrapper (events.js:421:28)
1815
- at Connection.emit (events.js:315:20)
1816
- at Connection.EventEmitter.emit (domain.js:467:12)
1817
- at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1818
- at Socket.emit (events.js:327:22)
1819
- at Socket.EventEmitter.emit (domain.js:467:12)
1820
- at endReadableNT (internal/streams/readable.js:1327:12)
1821
- at processTicksAndRejections (internal/process/task_queues.js:80:21) {
1822
- parent: Error: Connection terminated unexpectedly
1823
- at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:132:73)
1824
- at Object.onceWrapper (events.js:421:28)
1825
- at Connection.emit (events.js:315:20)
1826
- at Connection.EventEmitter.emit (domain.js:467:12)
1827
- at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1828
- at Socket.emit (events.js:327:22)
1829
- at Socket.EventEmitter.emit (domain.js:467:12)
1830
- at endReadableNT (internal/streams/readable.js:1327:12)
1831
- at processTicksAndRejections (internal/process/task_queues.js:80:21),
1832
- original: Error: Connection terminated unexpectedly
1833
- at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:132:73)
1834
- at Object.onceWrapper (events.js:421:28)
1835
- at Connection.emit (events.js:315:20)
1836
- at Connection.EventEmitter.emit (domain.js:467:12)
1837
- at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1838
- at Socket.emit (events.js:327:22)
1839
- at Socket.EventEmitter.emit (domain.js:467:12)
1840
- at endReadableNT (internal/streams/readable.js:1327:12)
1841
- at processTicksAndRejections (internal/process/task_queues.js:80:21)
1842
- }
1843
- [2022-01-06T15.21.01.543] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - InvalidConfigException: The user application component must be available to specify roles in AccessRule.
1844
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1845
- at new InvalidConfigException (C:\PROJELER\github\Chy-Nodejs-Framework\base\InvalidConfigException.ts:14:9)
1846
- at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:354:19)
1847
- at Generator.throw (<anonymous>)
1848
- at rejected (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:6:65)
1849
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1850
- statusCode: 500
1851
- }
1852
- [2022-01-06T15.25.22.790] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1853
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1854
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1855
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1856
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1857
- at Generator.next (<anonymous>)
1858
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1859
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1860
- statusCode: 403
1861
- }
1862
- [2022-01-06T15.27.10.826] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1863
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1864
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1865
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1866
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1867
- at Generator.next (<anonymous>)
1868
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1869
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1870
- statusCode: 403
1871
- }
1872
- [2022-01-06T15.27.34.445] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1873
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1874
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1875
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1876
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1877
- at Generator.next (<anonymous>)
1878
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1879
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1880
- statusCode: 403
1881
- }
1882
- [2022-01-06T15.32.01.651] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1883
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1884
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1885
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1886
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1887
- at Generator.next (<anonymous>)
1888
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1889
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1890
- statusCode: 403
1891
- }
1892
- [2022-01-06T15.39.52.158] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1893
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1894
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1895
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1896
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1897
- at Generator.next (<anonymous>)
1898
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1899
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1900
- statusCode: 403
1901
- }
1902
- [2022-01-06T16.16.36.730] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1903
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1904
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1905
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1906
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1907
- at Generator.next (<anonymous>)
1908
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1909
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1910
- statusCode: 403
1911
- }
1912
- [2022-01-06T16.18.13.828] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1913
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1914
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1915
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1916
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1917
- at Generator.next (<anonymous>)
1918
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1919
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1920
- statusCode: 403
1921
- }
1922
- [2022-01-06T16.18.27.325] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1923
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1924
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1925
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1926
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1927
- at Generator.next (<anonymous>)
1928
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1929
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1930
- statusCode: 403
1931
- }
1932
- [2022-01-06T16.23.44.702] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1933
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1934
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1935
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1936
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1937
- at Generator.next (<anonymous>)
1938
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1939
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1940
- statusCode: 403
1941
- }
1942
- [2022-01-06T16.40.27.864] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1943
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1944
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1945
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1946
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1947
- at Generator.next (<anonymous>)
1948
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1949
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1950
- statusCode: 403
1951
- }
1952
- [2022-01-06T16.40.53.071] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1953
- at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1954
- at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1955
- at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1956
- at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1957
- at Generator.next (<anonymous>)
1958
- at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1959
- at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1960
- statusCode: 403
1961
- }
1962
- [2022-01-06T16.42.06.509] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - Error: Invalid value AuthItemChildClass {
1963
- dataValues: { parent: 'admin', child: 'edis-manager' },
1964
- _previousDataValues: { parent: 'admin', child: 'edis-manager' },
1965
- _changed: Set(0) {},
1966
- _options: {
1967
- isNewRecord: false,
1968
- _schema: null,
1969
- _schemaDelimiter: '',
1970
- raw: true,
1971
- attributes: [ 'parent', 'child' ]
1972
- },
1973
- isNewRecord: false
1974
- }
1975
- at Object.escape (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\sql-string.js:65:11)
1976
- at PostgresQueryGenerator.escape (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:994:22)
1977
- at PostgresQueryGenerator.whereItemQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2367:102)
1978
- at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2258:25
1979
- at Array.forEach (<anonymous>)
1980
- at PostgresQueryGenerator.whereItemsQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2256:35)
1981
- at PostgresQueryGenerator.getWhereConditions (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2674:19)
1982
- at PostgresQueryGenerator.selectQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:1325:28)
1983
- at PostgresQueryInterface.select (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-interface.js:954:27)
1984
- at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1753:47)