diff options
Diffstat (limited to 'src/uk/org/ury/database/UserClass.java')
-rw-r--r-- | src/uk/org/ury/database/UserClass.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/uk/org/ury/database/UserClass.java b/src/uk/org/ury/database/UserClass.java new file mode 100644 index 0000000..8f30952 --- /dev/null +++ b/src/uk/org/ury/database/UserClass.java @@ -0,0 +1,24 @@ +/** + * + */ +package uk.org.ury.database; + + +/** + * The various user classes of the database driver. + * + * These refer to various users in the database proper, and thus + * grant various levels of permission to the program. + * + * Please use the least privileged user class that works. For most + * cases, READ_ONLY should work perfectly. + * + * @author Matt Windsor + * + */ + +public enum UserClass + { + READ_ONLY, + READ_WRITE + } |