Authorization

SecurityVerifiedShare on

How permissions are enforced.

HM Redowan1 min readUpdated 2026-12-04

Bu sayfanın Türkçe çevirisi editör incelemesinde. İngilizce sürüm gösteriliyor.

Authorization lives in the database: RLS policies call is_staff, can_write and has_role. Teacher operations run in SECURITY DEFINER functions that check my_teacher_id(), lesson ownership and the current time. The screen only mirrors these rules.

Bu sayfa yardımcı oldu mu?