1
0
Fork 0

issue #1075: Aardvark: user name required even if auth is off

The fix for this prefills the username input field with the current user's
  accout name if any and `root` (the default username) otherwise. Additionally,
  the tooltip text has been slightly adjusted.
This commit is contained in:
Jan Steemann 2014-11-03 23:22:08 +01:00
parent 657a1be675
commit 9edba8f96e
3 changed files with 18 additions and 6 deletions

View File

@ -1,6 +1,16 @@
v2.3.0 (XXXX-XX-XX)
-------------------
* fixed issue #1075: Aardvark: user name required even if auth is off #1075
The fix for this prefills the username input field with the current user's
accout name if any and `root` (the default username) otherwise. Additionally,
the tooltip text has been slightly adjusted.
v2.3.0-beta (2014-11-01)
------------------------
* added dedicated `NOT IN` operator for AQL
Previously, a `NOT IN` was only achievable by writing a negated `IN` condition:

View File

@ -187,8 +187,9 @@
databases: function () {
if (arangoHelper.databaseAllowed() === true) {
if (!this.databaseView) {
if (! this.databaseView) {
this.databaseView = new window.databaseView({
users: this.userCollection,
collection: new window.ArangoDatabase(
[],
{

View File

@ -6,6 +6,7 @@
"use strict";
window.databaseView = Backbone.View.extend({
users: null,
el: '#content',
template: templateEngine.createTemplate("databaseView.ejs"),
@ -318,10 +319,12 @@
window.modalView.createTextEntry(
"newUser",
"Username",
"",
this.users !== null ? this.users.whoAmI() : 'root',
"Please define the owner of this database. This will be the only user having "
+ "initial access to this database. If the user is different to your account "
+ "you will not be able to see the database. "
+ "initial access to this database if authentication is turned on. Please note "
+ "that if you specify a username different to your account you will not be "
+ "able to access the database with your account after having creating it. "
+ "Specifying a username is mandatory even with authentication turned off. "
+ "If there is a failure you will be informed.",
"Database Owner",
true,
@ -357,7 +360,5 @@
);
}
});
}());