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

@@ -5,7 +5,7 @@
// This class creates a basic dialog requesting from the user a name and
// corresponding service that is later used to create a new log.
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2003,2016-2017 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -31,6 +31,7 @@
#include <rdstation.h>
#include <rdlog.h>
#include <rdlogfilter.h>
#include <rduser.h>
@@ -38,14 +39,9 @@ class RDAddLog : public QDialog
{
Q_OBJECT
public:
/**
* Constructor for the RDAddLog object.
*
* NOTE: the presence of the optional rduser parameter is used to flag if
* user security should be used instead of host based security.
*/
RDAddLog(QString *logname,QString *svcname,RDStation *station,
QString caption,QWidget *parent=0,RDUser *rduser=0);
RDAddLog(QString *logname,QString *svcname,RDLogFilter::FilterMode mode,
RDUser *user,RDStation *station,const QString &caption,
QWidget *parent=0);
~RDAddLog();
QSize sizeHint() const;
QSizePolicy sizePolicy() const;