Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
112
Issues
112
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
4997a4a6
Commit
4997a4a6
authored
Jul 14, 2009
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow elabman to modify shared_node experiments.
parent
59b33bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tbsetup/tbprerun.in
tbsetup/tbprerun.in
+2
-1
No files found.
tbsetup/tbprerun.in
View file @
4997a4a6
...
...
@@ -205,7 +205,8 @@ my $query_result =
DBQueryFatal
("
select sharing_mode from virt_nodes
"
.
"
where pid='
$pid
' and eid='
$eid
' and
"
.
"
sharing_mode is not null
");
if
(
$query_result
->
numrows
&&
!
$this_user
->
IsAdmin
())
{
if
(
$query_result
->
numrows
&&
!
(
$this_user
->
IsAdmin
()
||
$this_user
->
uid
eq
"
elabman
"))
{
fatal
("
Only testbed admininstrators can set the sharing mode on nodes
");
}
...
...
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