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
|
||||
-----
|
||||
|
||||
* 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
|
||||
|
||||
* added function `db._parse(query)` for parse an AQL query and return information about it
|
||||
|
|
|
@ -276,8 +276,8 @@
|
|||
},
|
||||
|
||||
checkRoot: function () {
|
||||
// disable * in _system db, because it is not allowed to lower permissions there
|
||||
if (window.App.currentUser === 'root') {
|
||||
// disable * in _system db for root user, because it is not allowed to lower permissions there
|
||||
if (this.currentUser.get('user') === 'root') {
|
||||
$('#_system-db #___-collection input').attr('disabled', 'true');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue