Update of /cvs/scoop/scoop/struct/patch-files/current In directory lithium.sabren.com:/tmp/cvs-serv27936/struct/patch-files/current Modified Files: README Added Files: patch-29-TUPerms.sql Log Message: Fix for TU so you can check permissions with a var and $S->have_perm() instead of mucking about with TRUSTLEV and super_mojo. The fix is fairly small. The perms are listed in a var called 'tu_perms'. Eventually comment rating should be changed to make use of this, but that hasn't happened quite yet. -j Index: README =================================================================== RCS file: /cvs/scoop/scoop/struct/patch-files/current/README,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** README 13 Jan 2006 21:14:11 -0000 1.116 --- README 13 Jan 2006 23:28:51 -0000 1.117 *************** *** 128,131 **** --- 128,136 ---- Adds a var to enable requiring tags for story posting. + Jan 13 15:50 patch-29-TUPerms.sql + Adds a var to add perms that can be specifically checked by + $S->have_perm() for trusted users, so we can use just that var and + $S->have_perm, rather than mucking about with TRUSTLEV and super_mojo. + Any problems, email scoop-help at lists.kuro5hin.org (don't forget to join!) join here: http://lists.kuro5hin.org/mailman/listinfo/scoop-help --- NEW FILE: patch-29-TUPerms.sql --- INSERT INTO `vars` (`name`, `value`, `description`, `type`, `category`) VALUES ('tu_perms','zero_rate','Comma seperated list of special permissions that trusted users can have. \"zero_rate\" is the default provided, but others can be added as well.','text','Security');