Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ec4db676
Commit
ec4db676
authored
Mar 15, 2006
by
Leigh B. Stoller
Browse files
Oops, forgot to commit this little file of additions to the flyspray
Database to make it usable for emulab.
parent
2736d2ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
bugdb/sqlextras
0 → 100644
View file @
ec4db676
--
-- SQL extra defs for setting Flyspray from ops-install
--
-- Okay, as I started to do the Emulab to Flyspray interface, I
-- realized I need to add a new table to map between Emulab pid and
-- Flyspray project. Not a problem for users or groups, but Flyspray
-- allows people to edit the project names, which would make it
-- impossible for Emulab to find the right records later.
CREATE TABLE IF NOT EXISTS emulab_project_mapping (
pid varchar(32) NOT NULL default '',
flyspray_id mediumint(5) NOT NULL default '0',
PRIMARY KEY (pid)
) TYPE=MyISAM;
-- Needed for cross-login (xlogin) support.
alter table flyspray_users add cred varchar(40) default NULL;
-- In the default project, turn off the view bit for Basic users; That
-- project is silly and no one should see it, since the only way to
-- change permissions for it is to give users permission across all
-- projects.
update flyspray_projects set others_view='0' where project_id='1';
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment