Chapter 6. UI and Data Policies
UI policies and data policies can help to prevent users from accidentally (or intentionally!) making certain changes in our database, given a set of conditions. UI policies operate client-side, while data policies run server-side. They can also be set to enforce restrictions on the client just like UI Policies, meaning that they may disable or make mandatory certain UI elements in the user's browser, or they may enforce those rules on the server.
In this chapter, we'll learn about:
- UI policies
- Catalog UI policies
- Scripting in UI policies
- "Reverse if false" functionality
- UI policy actions
- UI policy order
- Data policies
- Data policies versus ACLs
- Converting a data policy to a UI policy