Add some tests and docs for visibility attributes

Bug #2067191 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

I spent some time today trying to wrap my mind around visibility attributes used for Search (e.g. the search.calculate_visibility_attribute stored procedure and friends). At the end of it, I wrote some documentation and characterization tests that will hopefully help the next person who digs into this, and of course provide a bit of a safety net for the next person who has to make changes to it. The docs are intended as an in-code complement to the excellent docs/TechRef/PureSQLSearch.adoc.

Branch forthcoming.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Here is the branch: user/sandbergja/visibility-pgtap

Here is a link: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/visibility-pgtap

Here is a refresher on how to run pgtap tests: https://wiki.evergreen-ils.org/doku.php?id=dev:contributing:qa#pgtap_database_tests

...and now, back to totally forgetting how bitwise operators work 🤣

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.