initial commit
This commit is contained in:
17 files changed
+1277
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- 1. Create a role for TAs
|
||||
CREATE ROLE ta_role;
|
||||
|
||||
-- 2. Allow this role to view your TA-related views
|
||||
GRANT SELECT ON v_ta_progress_summary, v_section_overview TO ta_role;
|
||||
|
||||
-- 3. Create a demo user (only works if your server allows user creation)
|
||||
CREATE USER ta_demo WITH PASSWORD 'ta_demo123';
|
||||
|
||||
-- 4. Give the demo user the TA role
|
||||
GRANT ta_role TO ta_demo;
|
||||
Reference in new issue
Block a user