Security rules are at the heart of security module in Space Cloud.
A security rule is nothing but a simple JSON object that describes the access control logic for an operation. You can configure the security rules for each module in Space Cloud at a granular level. For instance, the security rules for database module can be configured at the operation level (create, read, update and delete) for each table in your database.
All incoming requests to the Space Cloud are first validated by the API controller using the security rules defined by you. A request is allowed to be made only if the security rule for that operation resolves.
Security rules help you enforce various access control mechanisms on an operation:
The various types of Security rules in Space Cloud are:
delete while selectively allowing the other ones.clause provided in the query rule is resolved.2xx.Read more about the different security rule types in detail. The documentation of individual security rule types are organized as per their nature (Authorization, Data Masking, etc.)
You can also check out the available variables or helper functions in security rules.