With the privacy rules, some roles are defined in the application. Users with these roles can only access data they are allowed to access.
Privacy Rules
- Acquired Products → Only the user who acquired this product can see the product's data that the user has purchased.
- Approvement Requests → Only the user who created this request or the user with the "Admin" role can see the product for which the approval request has been created.
- Bookmarks → Only the user who bookmarked the product can see which user has bookmarked which product.
- Newsletter Subscribers → Only the user with the "Admin" role can see the subscriber's data to the Newsletter.
- Product → All information about a product can be seen only by the user who published that product; the "Admin" user can see all the product information except the downloadable file. All users can see all the product information except the downloadable file and analytics data.
- Product Code → Only the user who published that product can see all the coupon codes of a product. All users can see the remaining code number of a product (To see if they are out of stock).
- Report → Only the reporter or the user with the "Admin" role can see a report.
- Transaction →: The buyer, seller, or user can view a transaction with the "Admin" role.
- User → , All user data can be seen by the relevant user or the user with the "Admin" role. All users can see a user's "Name," "Surname," and "Profile Photo" data.