summaryrefslogtreecommitdiff
path: root/updates
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-02-18 15:14:56 +0000
committerDries Buytaert <dries@buytaert.net>2001-02-18 15:14:56 +0000
commit4371b627d51ffc5af9498fa1877d8e519a5f2c6e (patch)
treebc83240be6329005e30a5c21ff83163397ca0fd1 /updates
parentc93bcff8b85a24fe200fe27bd4c8f860f7d01b9c (diff)
downloadbrdo-4371b627d51ffc5af9498fa1877d8e519a5f2c6e.tar.gz
brdo-4371b627d51ffc5af9498fa1877d8e519a5f2c6e.tar.bz2
- added fine-grained user permission system which allows us to give
certain users access to specific administration sections only. Ex. a FAQ maintainer can only edit the FAQ, and members of an "editorial board" can only edit comments, diaries and stories, .. - code review => rewrote include/user.inc which is much easier now - fixed 4 small bugs
Diffstat (limited to 'updates')
-rw-r--r--updates/1.00-to-1.xx35
1 files changed, 19 insertions, 16 deletions
diff --git a/updates/1.00-to-1.xx b/updates/1.00-to-1.xx
index 7cc514ec0..be556a23e 100644
--- a/updates/1.00-to-1.xx
+++ b/updates/1.00-to-1.xx
@@ -1,18 +1,9 @@
+# 18/02/2001: permissions / access / group
+alter table users drop permissions;
+alter table users add access varchar(255) DEFAULT '' NOT NULL;
-# 20/01/2001: comment/discussion code rewrite:
-alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
-alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
-alter table comments add link varchar(16) DEFAULT '' NOT NULL;
-update comments set link = 'article';
-
-# 21/01/2001: section manager
-alter table stories change category section varchar(64) DEFAULT '' NOT NULL;
-
-# 31/01/2001: block rehashing
-alter table blocks add remove tinyint(1) DEFAULT '0' NOT NULL;
-
-# 07/02/2001: value calculation
-alter table users add rating decimal(8,4) DEFAULT '0' NOT NULL;
+# 14/02/2001: locale / internationalisation
+alter table users add language varchar(2) DEFAULT '' NOT NULL;
# 12/02/2001: locale / internationalisation
create table locales (
@@ -22,5 +13,17 @@ create table locales (
PRIMARY KEY (id)
);
-# 14/02/2001: locale / internationalisation
-alter table users add language varchar(2) DEFAULT '' NOT NULL;
+# 07/02/2001: value calculation
+alter table users add rating decimal(8,4) DEFAULT '0' NOT NULL;
+
+# 31/01/2001: block rehashing
+alter table blocks add remove tinyint(1) DEFAULT '0' NOT NULL;
+
+# 21/01/2001: section manager
+alter table stories change category section varchar(64) DEFAULT '' NOT NULL;
+
+# 20/01/2001: comment/discussion code rewrite:
+alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
+alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
+alter table comments add link varchar(16) DEFAULT '' NOT NULL;
+update comments set link = 'article';