2017-04-03 Fred Gleason <fredg@paravelsystems.com>

* Added a 'USERS.LOCAL_AUTH' field to the database.
	* Added a 'USERS.PAM_SERVICE' field to the database.
	* Added an index on 'STATIONS.IPV4_ADDRESS' to the database.
	* Incremented the database version to 262.
	* Added 'RDUser::localAuthentication()',
	'RDUser::setLocalAuthentication()', 'RDUser::pamService()' and
	'RDUser::setPamService()' methods in 'lib/rduser.cpp' and
	'lib/rduser.h'.
	* Added 'PAM Service' and 'Authenticate This User Locally' controls
	to the Edit User dialog in 'rdadmin/edit_user.cpp' and
	'rdadmin/edit_user.h'.
	* Added a PAM service configuration in 'conf/rivendell.pam'.
This commit is contained in:
Fred Gleason
2017-04-03 18:15:07 -04:00
parent 9cfcfcb5be
commit 275c08b156
21 changed files with 283 additions and 49 deletions

View File

@@ -44,6 +44,7 @@ class EditUser : public QDialog
QSizePolicy sizePolicy() const;
private slots:
void localAuthToggledData(bool state);
void passwordData();
void groupsData();
void feedsData();
@@ -55,6 +56,11 @@ class EditUser : public QDialog
QLineEdit *user_name_edit;
QLineEdit *user_full_name_edit;
QLineEdit *user_description_edit;
QCheckBox *user_localauth_check;
QLabel *user_localauth_label;
QLineEdit *user_pamservice_edit;
QLabel *user_pamservice_label;
QPushButton *user_password_button;
QLineEdit *user_phone_edit;
QSpinBox *user_webapi_auth_spin;
QCheckBox *user_web_box;