Skip to content

Commit

Permalink
Merge pull request #283 from hotwax/enhance_app_permissions
Browse files Browse the repository at this point in the history
Improved: Used 'RECEIVING_ADMIN' permission instead of 'COMMON_ADMIN' and 'FULFILL_SHIPMENT_ADMIN' for various actions.
  • Loading branch information
ravilodhi authored Dec 6, 2023
2 parents 290a8bf + 5e5a86c commit a06102d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/authorization/Rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default {
'APP_PURCHASEORDER_DETAIL_VIEW': '',
'APP_RETURNS_VIEW': '',
'APP_RETURN_DETAIL_VIEW': '',
'APP_SHIPMENT_UPDATE': 'COMMON_ADMIN',
'APP_SHIPMENT_ADMIN': 'FULFILL_SHIPMENT_ADMIN',
'APP_SHIPMENT_UPDATE': 'RECEIVING_ADMIN',
'APP_SHIPMENT_ADMIN': 'RECEIVING_ADMIN',
} as any

0 comments on commit a06102d

Please sign in to comment.