You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

This server class provides methods to operate the database records considering the ACL rules of the user. All of the SimpleRecordSecure methods are the same as SimpleRecord methods but they are applied according to the ACL rules.

  • There is an ACL rule that restricts a certain field for a user when they create a record. If they try to fill it in via a script and use insert() method, the record is added with an empty field or default value for the field if there is any, and getErros() method returns the corresponding error message.
  • There is an ACL rule that restricts the write or delete operation with a record for a user. If they try to edit or delete it via a script and use insert() method, the field value remains the same and the getErros() method returns the corresponding error message.
  • There is an ACL rule that restricts the read operation with a record for a user. If they request it via a script, the response does not contain the hidden data. For example, a column or entire string of the response can be empty.

  • No labels