Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
ab578286
Commit
ab578286
authored
Nov 30, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add disabled flag to profile (versions). Code to follow.
parent
4501b541
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sql/database-create.sql
sql/database-create.sql
+2
-0
www/aptui/instance_defs.php
www/aptui/instance_defs.php
+1
-1
No files found.
sql/database-create.sql
View file @
ab578286
...
...
@@ -275,6 +275,7 @@ CREATE TABLE `apt_profile_versions` (
`created`
datetime
default
NULL
,
`published`
datetime
default
NULL
,
`deleted`
datetime
default
NULL
,
`disabled`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`uuid`
varchar
(
40
)
NOT
NULL
,
`parent_profileid`
int
(
8
)
unsigned
default
NULL
,
`parent_version`
int
(
8
)
unsigned
default
NULL
,
...
...
@@ -303,6 +304,7 @@ CREATE TABLE `apt_profiles` (
`shared`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`listed`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`topdog`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`disabled`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`locked`
datetime
default
NULL
,
`locker_pid`
int
(
11
)
default
'0'
,
PRIMARY
KEY
(
`profileid`
),
...
...
www/aptui/instance_defs.php
View file @
ab578286
...
...
@@ -367,7 +367,7 @@ class Instance
'Emulab'
=>
"urn:publicid:IDN+emulab.net+authority+cm"
);
if
(
ISADMIN
())
{
if
(
ISADMIN
()
||
ISFOREIGN_ADMIN
()
)
{
$am_array
[
"iMinds Virt Wall 2"
]
=
"urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm"
;
$am_array
[
"UKY Emulab"
]
=
...
...
Write
Preview
Markdown
is supported
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