Commit 880bc53c authored by Leigh Stoller's avatar Leigh Stoller

MA is

like SA.
parent fc000997
......@@ -5266,7 +5266,8 @@ sub CreateAuthorityFromCertificate($)
# Check that this really is an SA.
#
my ($auth,$type,$id) = GeniHRN::Parse($certificate->urn());
if (! ($type eq "authority" && $id eq "sa")) {
if (! ($type eq "authority" &&
($id eq "sa" || $id eq "ma"))) {
return GeniResponse->Create(GENIRESPONSE_BADARGS, undef,
"Signer certificate is not from a Slice Authority");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment