Add the groupToEditPost field to the Collaboration system. This allows users

to specify a group of users that will always be able to do edits on posts,
regardless of whether they own those posts and independent of the editTimeout
field.
This commit is contained in:
Chris Nehren 2007-11-06 22:58:22 +00:00
parent e5b7741f75
commit 0d689afa4c
5 changed files with 220 additions and 4 deletions

View file

@ -35,6 +35,14 @@ sub addSearchWithContainers {
print "DONE!\n" unless $quiet;
}
#-------------------------------------------------
sub addGroupToEditPost {
my $session = shift;
print "\tAdding the Group to Edit Post field to the Collaboration system." unless $quiet;
$session->db->write("alter table Collaboration add column groupToEditPost varchar(22) not null");
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub addFriendsNetwork {
my $session = shift;