You can create a join index on a row-level security-protected table only if all of the following rules are followed.
- The index references a single row-level security-protected table and no other table.
- All of the constraint columns in the table are included in the index definition.