1) Fixes the incorrect title shown for the error message in restore/backup.
2) Doc updates for webserver authentication. 3) Cleanup task for API tests.pull/71/head
parent
9fec812366
commit
1141aeb524
|
@ -32,8 +32,9 @@ and modify the values for the following parameters:
|
|||
"WEBSERVER_AUTO_CREATE_USER", "Set the value to *True* if you want to automatically
|
||||
create a pgAdmin user corresponding to a successfully authenticated Webserver user.
|
||||
Please note that password is not stored in the pgAdmin database."
|
||||
"WEBSERVER_REMOTE_USER", "The default value is REMOTE_USER, set this variable to any header
|
||||
or environemnt variable to get the webserver remote user details. Possible values: REMOTE_USER,
|
||||
"WEBSERVER_REMOTE_USER", "To get the web server remote user details, set this variable to any header or
|
||||
environment variable name which comes from the web server after webserver authentication.
|
||||
The default value is REMOTE_USER and the possible values are REMOTE_USER,
|
||||
HTTP_X_FORWARDED_USER, X-Forwarded-User."
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,12 @@ class ReassignRoleTestCase(BaseTestGenerator):
|
|||
|
||||
self.data = self.test_data
|
||||
|
||||
if self.data["role_op"] == 'reassign' and \
|
||||
hasattr(self, 'server_min_version') and \
|
||||
self.server_information['server_version'] \
|
||||
< self.server_min_version:
|
||||
self.skipTest(self.skip_msg)
|
||||
|
||||
self.role_name = "role_get_%s" % str(uuid.uuid4())[1:8]
|
||||
self.role_id = roles_utils.create_role(self.server, self.role_name)
|
||||
|
||||
|
@ -45,12 +51,6 @@ class ReassignRoleTestCase(BaseTestGenerator):
|
|||
self.data['did'] = parent_node_dict['database'][-1]['db_id']
|
||||
|
||||
if self.data["role_op"] == 'reassign':
|
||||
|
||||
if hasattr(self, 'server_min_version') and \
|
||||
self.server_information['server_version'] \
|
||||
< self.server_min_version:
|
||||
self.skipTest(self.skip_msg)
|
||||
|
||||
self.role_name_1 = "role_get_%s" % str(uuid.uuid4())[1:8]
|
||||
self.role_id_1 = roles_utils.create_role(self.server,
|
||||
self.role_name_1)
|
||||
|
|
|
@ -177,7 +177,7 @@ define([
|
|||
saveCallBack: function(data, dialog) {
|
||||
if(data.errormsg) {
|
||||
Notify.alert(
|
||||
gettext('Utility not found'),
|
||||
gettext('Error'),
|
||||
gettext(data.errormsg)
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -79,7 +79,7 @@ define([
|
|||
importExportCallBack: function(data, dialog) {
|
||||
if(data.errormsg) {
|
||||
Notify.alert(
|
||||
gettext('Utility not found'),
|
||||
gettext('Error'),
|
||||
gettext(data.errormsg)
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -88,7 +88,7 @@ define([
|
|||
saveCallBack: function(data, dialog) {
|
||||
if(data.errormsg) {
|
||||
Notify.alert(
|
||||
gettext('Utility not found'),
|
||||
gettext('Error'),
|
||||
gettext(data.errormsg)
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -93,7 +93,7 @@ define('tools.restore', [
|
|||
saveCallBack: function(data, dialog) {
|
||||
if(data.errormsg) {
|
||||
Notify.alert(
|
||||
gettext('Utility not found'),
|
||||
gettext('Error'),
|
||||
gettext(data.errormsg)
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue