Admin: Use appname for ACL edit, not the name of the application entry (eg: calendar vs event)

This commit is contained in:
nathan 2023-09-25 10:24:36 -06:00
parent 70be19cdfb
commit c30039cf88

View File

@ -711,8 +711,7 @@ class AdminApp extends EgwApp
sel_options.acl_appname = []; sel_options.acl_appname = [];
for(let app in acl_rights) for(let app in acl_rights)
{ {
sel_options.acl_appname.push({value: app, label: this.egw.lang( sel_options.acl_appname.push({value: app, label: app});
<string>this.egw.link_get_registry(app, 'entries') || app)});
} }
// Sort list // Sort list
sel_options.acl_appname.sort(function(a,b) { sel_options.acl_appname.sort(function(a,b) {