2017-11-28 Fred Gleason <fredg@paravelsystems.com>

* Added a 'USER_SERVICE_PERMS' table to the database.
	* Incremented the database version to 272.
	* Added a 'Service Permissions' button to the Edit User dialog in
	rdadmin(1).
This commit is contained in:
Fred Gleason
2017-11-28 09:01:42 -05:00
parent 29e625c7f5
commit d55a3b9115
44 changed files with 777 additions and 327 deletions

View File

@@ -47,7 +47,8 @@ ListLogs::ListLogs(LogPlay *log,QWidget *parent)
//
// Filter Widget
//
list_filter_widget=new RDLogFilter(this);
list_filter_widget=
new RDLogFilter(RDLogFilter::StationFilter,rduser,air_config,this);
connect(list_filter_widget,SIGNAL(filterChanged(const QString &)),
this,SLOT(filterChangedData(const QString &)));
@@ -133,7 +134,6 @@ int ListLogs::exec(QString *logname,QString *svcname)
while(q->next()) {
services_list.push_back(q->value(0).toString());
}
list_filter_widget->setServices(services_list);
delete q;
RefreshList();
@@ -186,7 +186,8 @@ void ListLogs::saveAsButtonData()
QString logname;
QString svcname=*list_svcname;
RDAddLog *log;
log=new RDAddLog(&logname,&svcname,rdstation_conf,tr("Rename Log"),this);
log=new RDAddLog(&logname,&svcname,RDLogFilter::StationFilter,rduser,
rdstation_conf,tr("Rename Log"),this);
if(log->exec()<0) {
delete log;