rls_UserStudentDataAuthorization View

Purpose

Supports row-level security for a given user by listing all of the students they are allowed to access. Part of the Row-Level Security Collection.

SQL Object

analytics.rls_UserStudentDataAuthorization

Data Definition and Sources

The view contains three queries — one each for authorization scope District, School, and Section. Any given user will only have results in one of these sub-queries, based on the Staff Classifications listed in the Descriptor Mapping.

ColumnSource TableSource Column or ValueData Type
​UserKeyStaffEducationOrganizationAssignmentAssociation​StaffUniqueIdint​
StudentKey

If scope is District or School, then StudentSchoolAssociation

When District, then rolls up all Schools associated with a Local Education Agency

StudentUniqueIdint

If scope is Section, then StudentSectionAssociationStudentUniqueIdint

Contents