summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-21 09:34:14 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-21 09:34:14 +0000
commitcbb3bae526f862552bfda803f64cf1e695d115d3 (patch)
tree7139b3fa5a808c5a258c770162a51ccf282f002c
parent171293067a365e2be450dc2a21aeb1db04c54f5b (diff)
how the fileupload access controls could also be used for much more
-rw-r--r--doc/todo/fileupload.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/fileupload.mdwn b/doc/todo/fileupload.mdwn
index db5932de8..3a3f27dc4 100644
--- a/doc/todo/fileupload.mdwn
+++ b/doc/todo/fileupload.mdwn
@@ -32,4 +32,21 @@ the rules might look something like this:
( user(joey) and maxsize(1mb) and (type(webimage) or *.mp3) ) or
( user(joey) and maxsize(200mb) and (*.mov or *.avi) and videos/*)
+With a small extension, this could even be used to limit the max sizes of
+normal wiki pages, which could be useful if someone was abusing an open wiki
+as a wikifs. Maybe.
+
+ ( type(page) and maxsize(32k) )
+
+And if that's done, it can also be used to lock users from editing a pages
+or the whole wiki:
+
+ ( user(spammer) and * ) or
+ ( user(annoying) and index) or
+ ( immutable_page )
+
+That would obsolete the current simple admin prefs for banned users and
+locked pages. Suddenly all the access controls live in one place.
+Wonderbar!
+
[[tag soc]]