Skip to content

Commit

Permalink
Merge pull request #731 from R-Sourabh/#323-app-base-permission
Browse files Browse the repository at this point in the history
Improved: added app base permission(#323)
  • Loading branch information
ravilodhi authored Oct 14, 2024
2 parents 92b4dc9 + 52f2500 commit 3fe7150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VUE_APP_INITIAL_JOB_TYPES={"JOB_IMP_PROD_NEW_BLK":"products","JOB_IMP_ORD_BLK":"
VUE_APP_BASE_URL=
VUE_APP_BATCH_JOB_ENUMS={"JOB_BKR_ORD_UNF":{"id":"JOB_BKR_ORD_UNF","facilityId":"_NA_","unfillable": true},"JOB_BKR_ORD":{"id": "JOB_BKR_ORD","facilityId":"_NA_","unfillable": false},"JOB_BKR_PREORD_UNF":{"id":"JOB_BKR_PREORD_UNF","facilityId":"PRE_ORDER_PARKING","unfillable":true},"JOB_BKR_PREORD":{"id":"JOB_BKR_PREORD","facilityId":"PRE_ORDER_PARKING","unfillable":false},"JOB_BKR_BACKORD_UNF":{"id":"JOB_BKR_BACKORD_UNF","facilityId":"BACKORDER_PARKING","unfillable":true},"JOB_BKR_BACKORD":{"id":"JOB_BKR_BACKORD","facilityId":"BACKORDER_PARKING","unfillable":false}}
VUE_APP_WEBHOOK_ENUMS={"NEW_PRODUCTS":"products/create","DELETE_PRODUCTS":"products/delete","NEW_ORDERS":"orders/create","CANCELLED_ORDERS":"orders/cancelled","PAYMENT_STATUS":"order_transactions/create","RETURNS":"refunds/create","BULK_OPERATIONS_FINISH":"bulk_operations/finish", "INVENTORY_LEVEL_UPDATE":"inventory_levels/update"}
VUE_APP_PERMISSION_ID=
VUE_APP_PERMISSION_ID="JOB_MANAGER_APP_VIEW"
VUE_APP_ALIAS=
VUE_APP_DEFAULT_LOG_LEVEL="error"
VUE_APP_LOGIN_URL="http://launchpad.hotwax.io/login"
Expand Down
3 changes: 2 additions & 1 deletion src/authorization/Rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ export default {
"APP_BULK_EDITOR_VIEW": "COMMON_ADMIN",
"APP_JOB_VIEW": "",
"APP_JOB_UPDATE": "COMMON_ADMIN",
"APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN"
"APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN",
"JOB_MANAGER_APP_VIEW": "JOB_MANAGER_APP_VIEW"
} as any

0 comments on commit 3fe7150

Please sign in to comment.