summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-15 11:33:16 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-15 11:33:16 +0800
commit8f443aa1887bcae33ffbd46c1d2119f23ebcffde (patch)
tree46002a6c0ebdcd72bb4203020a29b36a4422bf03 /include
parent4ecf8e7ca5a495c2598699e439cc95da86998c95 (diff)
downloadpttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar.gz
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar.bz2
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar.lz
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar.xz
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.tar.zst
pttbbs-8f443aa1887bcae33ffbd46c1d2119f23ebcffde.zip
add comments for PERM_*
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/perm.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/include/perm.h b/include/perm.h
index eece624e..607201b7 100644
--- a/include/perm.h
+++ b/include/perm.h
@@ -1,39 +1,39 @@
-/* $Id: perm.h,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: perm.h,v 1.2 2003/03/15 03:33:16 in2 Exp $ */
#ifndef INCLUDE_PERM_H
#define INCLUDE_PERM_H
-#define PERM_BASIC 000000000001
-#define PERM_CHAT 000000000002
-#define PERM_PAGE 000000000004
-#define PERM_POST 000000000010
-#define PERM_LOGINOK 000000000020
-#define PERM_MAILLIMIT 000000000040
-#define PERM_CLOAK 000000000100
-#define PERM_SEECLOAK 000000000200
-#define PERM_XEMPT 000000000400
-#define PERM_DENYPOST 000000001000
-#define PERM_BM 000000002000
-#define PERM_ACCOUNTS 000000004000
-#define PERM_CHATROOM 000000010000
-#define PERM_BOARD 000000020000
-#define PERM_SYSOP 000000040000
-#define PERM_BBSADM 000000100000
-#define PERM_NOTOP 000000200000
-#define PERM_VIOLATELAW 000000400000
-#define PERM_NOOUTMAIL 000001000000
-#define PERM_20 000002000000
-#define PERM_VIEWSYSOP 000004000000
-#define PERM_LOGUSER 000010000000
-#define PERM_ANNOUNCE 000020000000
-#define PERM_RELATION 000040000000
-#define PERM_SMG 000100000000
-#define PERM_PRG 000200000000
-#define PERM_ACTION 000400000000
-#define PERM_PAINT 001000000000
-#define PERM_LAW 002000000000
-#define PERM_SYSSUBOP 004000000000
-#define PERM_MSYSOP 010000000000
-#define PERM_PTT 020000000000
+#define PERM_BASIC 000000000001 /* 基本權力 */
+#define PERM_CHAT 000000000002 /* 進入聊天室 */
+#define PERM_PAGE 000000000004 /* 找人聊天 */
+#define PERM_POST 000000000010 /* 發表文章 */
+#define PERM_LOGINOK 000000000020 /* 註冊程序認證 */
+#define PERM_MAILLIMIT 000000000040 /* 信件無上限 */
+#define PERM_CLOAK 000000000100 /* 目前隱形中 */
+#define PERM_SEECLOAK 000000000200 /* 看見忍者 */
+#define PERM_XEMPT 000000000400 /* 永久保留帳號 */
+#define PERM_DENYPOST 000000001000 /* 站長隱身術 */
+#define PERM_BM 000000002000 /* 板主 */
+#define PERM_ACCOUNTS 000000004000 /* 帳號總管 */
+#define PERM_CHATROOM 000000010000 /* 聊天室總管 */
+#define PERM_BOARD 000000020000 /* 看板總管 */
+#define PERM_SYSOP 000000040000 /* 站長 */
+#define PERM_BBSADM 000000100000 /* BBSADM */
+#define PERM_NOTOP 000000200000 /* 不列入排行榜 */
+#define PERM_VIOLATELAW 000000400000 /* 違法通緝中 */
+#define PERM_NOOUTMAIL 000001000000 /* 不接受站外的信 */
+#define PERM_20 000002000000 /* 沒想到 */
+#define PERM_VIEWSYSOP 000004000000 /* 視覺站長 */
+#define PERM_LOGUSER 000010000000 /* 觀察使用者行蹤 */
+#define PERM_ANNOUNCE 000020000000 /* 精華區總整理權 */
+#define PERM_RELATION 000040000000 /* 公關組 */
+#define PERM_SMG 000100000000 /* 特務組 */
+#define PERM_PRG 000200000000 /* 程式組 */
+#define PERM_ACTION 000400000000 /* 活動組 */
+#define PERM_PAINT 001000000000 /* 美工組 */
+#define PERM_LAW 002000000000 /* 立法組 */
+#define PERM_SYSSUBOP 004000000000 /* 小組長 */
+#define PERM_MSYSOP 010000000000 /* 一級主管 */
+#define PERM_PTT 020000000000 /* Ptt */
#define NUMPERMS 32