docs: complete function reference, drop unicode punctuation

Documents refresh_hierarchy_cache, is_rule_valid and org_in_scope, and
corrects the get_org_scope scope list which still omitted unattributed
and all.

Replaces em dashes and other typographic unicode with ASCII throughout
the schema comments, the test suite and the documentation. Comments and
prose are ASCII only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-25 07:26:35 +02:00
parent fa7567f5f0
commit cc3d65a013
25 changed files with 290 additions and 284 deletions
+5 -5
View File
@@ -2,8 +2,8 @@
-- Activity-View Binding Tests
-- =============================================================================
-- Tests opt-in activity-to-view restrictions:
-- 1. No bindings defined any view is allowed
-- 2. Binding defined listed view is allowed, unlisted view is blocked
-- 1. No bindings defined - any view is allowed
-- 2. Binding defined - listed view is allowed, unlisted view is blocked
-- 3. Blocking applies to cross_org_rules as well
-- 4. Removing all bindings lifts the restriction
--
@@ -12,11 +12,11 @@
\echo ''
\echo '================================================================'
\echo '10 ACTIVITY-VIEW BINDINGS'
\echo '10 - ACTIVITY-VIEW BINDINGS'
\echo '================================================================'
-- ---------------------------------------------------------------------------
-- Section 1: No bindings unconstrained
-- Section 1: No bindings - unconstrained
-- ---------------------------------------------------------------------------
\echo ''
\echo '--- 1. No bindings: any view is allowed ---'
@@ -39,7 +39,7 @@ SELECT morbac.t('No bindings: audit/documents rule inserted successfully',
DELETE FROM morbac.rules WHERE id = 'b0000000-0000-0000-0000-000000000001';
-- ---------------------------------------------------------------------------
-- Section 2: Binding defined listed view allowed, unlisted view blocked
-- Section 2: Binding defined - listed view allowed, unlisted view blocked
-- ---------------------------------------------------------------------------
\echo ''
\echo '--- 2. Binding defined: allowed view works, unlisted view blocked ---'