summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-16 19:03:59 +0100
committerEvan Prodromou <evan@status.net>2009-11-16 19:03:59 +0100
commitd2145a5b7f3a95dcfa90edb4bcd5e5b3bf66c116 (patch)
treeef31dc1aeb9e111fb0ca3e0b44c347e4203561ac /lib
parent02cc7af1b6a6f8c460550ad0f884bf5e7a18d176 (diff)
Move rights check to profile and add right for new notices
Added a right for new notices, realized that the hasRight() method should be on the profile, and moved it. Makes this a less atomic commit but that's the way it goes sometimes.
Diffstat (limited to 'lib')
-rw-r--r--lib/right.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/right.php b/lib/right.php
index 88abdf780..ae8516602 100644
--- a/lib/right.php
+++ b/lib/right.php
@@ -50,5 +50,6 @@ class Right
const DELETEUSER = 'deleteuser';
const SILENCEUSER = 'silenceuser';
const SANDBOXUSER = 'sandboxuser';
+ const NEWNOTICE = 'newnotice';
}