aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-01-19 22:19:39 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-01-19 22:19:39 -0500
commit05a169883b2e38d922e23d9e864278dd6adf8811 (patch)
tree4d7f0269c6e4d7b03ac6833d04030e1527f7d43c
parentcfdb0d9716131accd1cb48482d095de936bd4c89 (diff)
downloadGradeBook-05a169883b2e38d922e23d9e864278dd6adf8811.tar.gz
GradeBook-05a169883b2e38d922e23d9e864278dd6adf8811.zip
logon is allowed to everyone
Ignore-this: 34c7eb9a105e3474978af3c7e48aea3f darcs-hash:20110120031939-067c0-949de483c5a9066d58b439da281525d124f10151.gz
-rwxr-xr-xGradeBook.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl
index f38b307..f75d910 100755
--- a/GradeBook.tcl
+++ b/GradeBook.tcl
@@ -77,6 +77,7 @@ proc CreateGradesTable {db} {
proc CreateAccessRightsTable {db} {
db eval {CREATE TABLE AccessRightsTable(actionname text, instructor integer, ta integer, student integer, guest integer)}
# guest should have no rights make sure that 0 is evereywhere
+ db eval {INSERT INTO AccessRightsTable VALUES('logon', 1, 1, 1, 1)}
db eval {INSERT INTO AccessRightsTable VALUES('showgrades', 1, 1, 1, 0)}
db eval {INSERT INTO AccessRightsTable VALUES('sort', 1, 1, 0, 0)}
db eval {INSERT INTO AccessRightsTable VALUES('addcolumnrequest', 1, 1, 0, 0)}