1
0
Fork 0

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:
Heiko 2017-07-25 22:28:49 +02:00 committed by Frank Celler
parent e3b7de509f
commit 14ec3dea17
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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');
}
},