Skip to content

Commit

Permalink
F #6341: Revert to previous default for one.system.config
Browse files Browse the repository at this point in the history
ONEADMIN group will get the full configuration including sensitive
information
  • Loading branch information
rsmontero committed Jan 10, 2024
1 parent 779a017 commit 25115e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rm/RequestManagerSystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ void SystemVersion::request_execute(xmlrpc_c::paramList const& paramList,
void SystemConfig::request_execute(xmlrpc_c::paramList const& paramList,
RequestAttributes& att)
{
//bool is_admin = att.gid == GroupPool::ONEADMIN_ID;
//Do not send sensitive configuration data over the wire
success_response(Nebula::instance().get_configuration_xml(false), att);
bool is_admin = att.gid == GroupPool::ONEADMIN_ID;

success_response(Nebula::instance().get_configuration_xml(is_admin), att);

return;
}
Expand Down

0 comments on commit 25115e4

Please sign in to comment.