Skip to content

Comments

Improved: Product Prices - VIEW permissions (OFBIZ-12489)#442

Merged
JacquesLeRoux merged 2 commits intoapache:trunkfrom
PierreSmits:12489-Product-Price-VIEW
Jan 20, 2022
Merged

Improved: Product Prices - VIEW permissions (OFBIZ-12489)#442
JacquesLeRoux merged 2 commits intoapache:trunkfrom
PierreSmits:12489-Product-Price-VIEW

Conversation

@PierreSmits
Copy link
Member

Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the product prices screen, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with): https://localhost:8443/catalog/control/EditProductPrices?productId=WG-9943

Modified:

  • ProductScreens.xml - restructured for working with permissions
  • ProductForms.xml - added grid ProductPrices for users with VIEW permissions

Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the product prices screen, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with): https://localhost:8443/catalog/control/EditProductPrices?productId=WG-9943

Modified:
- ProductScreens.xml - restructured for working with permissions
- ProductForms.xml - added grid ProductPrices for users with VIEW permissions
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the product prices screen, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with): https://localhost:8443/catalog/control/EditProductPrices?productId=WG-9943

modified: ProductForms.xml
added display type to fields
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@JacquesLeRoux JacquesLeRoux merged commit 2a1438a into apache:trunk Jan 20, 2022
@PierreSmits PierreSmits deleted the 12489-Product-Price-VIEW branch January 20, 2022 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants