It's time for another mtrack update; here's what's new:
If you have an existing installation, you will need to carry out the following steps to enable the snippets feature:
php bin/add-acl-object.php --config-file /path/to/config.ini Snippets
sqlite3 /path/to/var/mtrac.db
CREATE TABLE snippets (
-- snippet id
snid text not null,
-- ref. to changes table
created INTEGER NOT NULL,
updated INTEGER NOT NULL,
-- summary/blurb in wiki markup
description text not null,
-- what language?
lang text not null,
-- and the snippet itself
snippet text not null,
primary key (snid)
);
; Defines some basic, reasonable, permission sets for 3 classes of user. ; These are used in addition to whatever is selected by auth plugins [user_class_roles] anonymous = ReportViewer,BrowserViewer,WikiViewer,TimelineViewer,RoadmapViewer,TicketViewer authenticated = ReportViewer,BrowserViewer,WikiCreator,TimelineViewer,RoadmapViewer,TicketCreator,UserViewer,SnippetCreator admin = ReportCreator,BrowserCreator,WikiCreator,TimelineViewer,RoadmapCreator,TicketCreator,EnumerationCreator,ComponentCreator,ProjectCreator,UserCreator,SnippetCreator