I've attached the OML for your convenience.
Follow the procedures below to inspect the attached OML. -
1. First, make the module available in your environment.
2. Using the Users application, create three users with the appropriate roles (User1-Role1, User2-Role2, and User3-Role3).
3. Login with each user individually and inspect the ProductDetail page, where the field is implemented using the logic below.
FieldName | Role1 PermissionLevel | Role2 PermissionLevel | Role3 PermissionLevel |
Name | Read/Write | Read | Read |
Description | Read/Write | Read | Read |
Quantity | Read/Write | Read/Write | Read |
Price | Read/Write | Read/Write | Read |
4. Check it out the code.