mirror of https://gitee.com/bigwinds/arangodb
allows now to edit default access level for collections in database _system for all users except the root user. (#2864)
This commit is contained in:
parent
e3b7de509f
commit
14ec3dea17
|
@ -1,6 +1,9 @@
|
||||||
devel
|
devel
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
* ui: allows now to edit default access level for collections in database
|
||||||
|
_system for all users except the root user.
|
||||||
|
|
||||||
* ui: fixed document view _from and _to linking issue for special characters
|
* ui: fixed document view _from and _to linking issue for special characters
|
||||||
|
|
||||||
* added function `db._parse(query)` for parse an AQL query and return information about it
|
* added function `db._parse(query)` for parse an AQL query and return information about it
|
||||||
|
|
|
@ -276,8 +276,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
checkRoot: function () {
|
checkRoot: function () {
|
||||||
// disable * in _system db, because it is not allowed to lower permissions there
|
// disable * in _system db for root user, because it is not allowed to lower permissions there
|
||||||
if (window.App.currentUser === 'root') {
|
if (this.currentUser.get('user') === 'root') {
|
||||||
$('#_system-db #___-collection input').attr('disabled', 'true');
|
$('#_system-db #___-collection input').attr('disabled', 'true');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue