git://git.onelab.eu
/
nodeconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508e01e
)
Adding request check for 'monitor' account key fetch.
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 8 Apr 2008 21:26:18 +0000
(21:26 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 8 Apr 2008 21:26:18 +0000
(21:26 +0000)
PlanetLabConf/keys.php
patch
|
blob
|
history
diff --git
a/PlanetLabConf/keys.php
b/PlanetLabConf/keys.php
index
eab3167
..
58721b0
100755
(executable)
--- a/
PlanetLabConf/keys.php
+++ b/
PlanetLabConf/keys.php
@@
-33,6
+33,12
@@
if (!empty($_REQUEST['role'])) {
}
}
}
+if (isset($_REQUEST[PLC_SLICE_PREFIX . '_monitor'])) {
+ $user = $adm->GetPersons(array('first_name' => 'Site', 'last_name' => 'Assistant'));
+ if (!empty($user)) {
+ $persons[] = $user[0];
+ }
+}
if (isset($_REQUEST['site_admin'])) {
// Look up the node