2021-01-17 Fred Gleason <fredg@paravelsystems.com>

* Restored enforcement of service authorized groups in rdairplay(1)
	and rdlogedit(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-01-17 16:50:25 -05:00
parent 834ea996fd
commit cd581d3c51
26 changed files with 137 additions and 146 deletions

View File

@@ -606,8 +606,7 @@ void EditStation::selectClicked()
{
int cartnum=station_startup_cart_edit->text().toInt();
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,NULL,0,
rda->user()->name(),rda->user()->password())==0) {
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)==0) {
station_startup_cart_edit->setText(QString().sprintf("%06d",cartnum));
}
}
@@ -628,8 +627,7 @@ void EditStation::heartbeatClickedData()
{
int cartnum=station_hbcart_edit->text().toInt();
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,NULL,0,
rda->user()->name(),rda->user()->password())==0) {
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)==0) {
station_hbcart_edit->setText(QString().sprintf("%06d",cartnum));
}
}
@@ -889,8 +887,7 @@ void EditStation::startCartClickedData()
{
int cartnum=station_start_cart_edit->text().toUInt();
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,NULL,0,
rda->user()->name(),rda->user()->password())==0) {
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)==0) {
station_start_cart_edit->setText(QString().sprintf("%06d",cartnum));
}
}
@@ -900,8 +897,7 @@ void EditStation::stopCartClickedData()
{
int cartnum=station_stop_cart_edit->text().toUInt();
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,NULL,0,
rda->user()->name(),rda->user()->password())==0) {
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)==0) {
station_stop_cart_edit->setText(QString().sprintf("%06d",cartnum));
}
}