mirror of https://gitee.com/bigwinds/arangodb
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:
parent
657a1be675
commit
9edba8f96e
10
CHANGELOG
10
CHANGELOG
|
@ -1,6 +1,16 @@
|
||||||
v2.3.0 (XXXX-XX-XX)
|
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
|
* added dedicated `NOT IN` operator for AQL
|
||||||
|
|
||||||
Previously, a `NOT IN` was only achievable by writing a negated `IN` condition:
|
Previously, a `NOT IN` was only achievable by writing a negated `IN` condition:
|
||||||
|
|
|
@ -187,8 +187,9 @@
|
||||||
|
|
||||||
databases: function () {
|
databases: function () {
|
||||||
if (arangoHelper.databaseAllowed() === true) {
|
if (arangoHelper.databaseAllowed() === true) {
|
||||||
if (!this.databaseView) {
|
if (! this.databaseView) {
|
||||||
this.databaseView = new window.databaseView({
|
this.databaseView = new window.databaseView({
|
||||||
|
users: this.userCollection,
|
||||||
collection: new window.ArangoDatabase(
|
collection: new window.ArangoDatabase(
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
window.databaseView = Backbone.View.extend({
|
window.databaseView = Backbone.View.extend({
|
||||||
|
users: null,
|
||||||
el: '#content',
|
el: '#content',
|
||||||
|
|
||||||
template: templateEngine.createTemplate("databaseView.ejs"),
|
template: templateEngine.createTemplate("databaseView.ejs"),
|
||||||
|
@ -318,10 +319,12 @@
|
||||||
window.modalView.createTextEntry(
|
window.modalView.createTextEntry(
|
||||||
"newUser",
|
"newUser",
|
||||||
"Username",
|
"Username",
|
||||||
"",
|
this.users !== null ? this.users.whoAmI() : 'root',
|
||||||
"Please define the owner of this database. This will be the only user having "
|
"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 "
|
+ "initial access to this database if authentication is turned on. Please note "
|
||||||
+ "you will not be able to see the database. "
|
+ "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.",
|
+ "If there is a failure you will be informed.",
|
||||||
"Database Owner",
|
"Database Owner",
|
||||||
true,
|
true,
|
||||||
|
@ -357,7 +360,5 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
|
Loading…
Reference in New Issue