01-20-2020, 11:56 PM
This is handled in
src/pyasm/security/access_manager.py
in the method alter_search
All the logic the handles this is in this method. The variable "values" lists the possible values that is attached to the search. At the end of this method, add the print statement:
print("sql: ", search.get_statement())
This will show you exactly what is going to be sent to the database after the security rules have been added.
src/pyasm/security/access_manager.py
in the method alter_search
All the logic the handles this is in this method. The variable "values" lists the possible values that is attached to the search. At the end of this method, add the print statement:
print("sql: ", search.get_statement())
This will show you exactly what is going to be sent to the database after the security rules have been added.