# HG changeset patch # User Mads Kiilerich # Date 1430232905 -7200 # Node ID 42c6d8e4a0de72adf924096ce3108c95b9a84966 # Parent dd8459607c076b7b147eb52434d5c84e69ebe071 permissions: by default, don't show entities with no access There might be a lot of entities the user/group don't have access and it is much more important to be able to see at a glance what the user/group has to access to than what it doesn't have access to. diff -r dd8459607c07 -r 42c6d8e4a0de kallithea/templates/base/perms_summary.html --- a/kallithea/templates/base/perms_summary.html Tue Apr 28 16:55:05 2015 +0200 +++ b/kallithea/templates/base/perms_summary.html Tue Apr 28 16:55:05 2015 +0200 @@ -124,6 +124,7 @@ show_empty(section); } $('.perm_filter').on('change', function(){update_show($(this));}); + $('.perm_filter[value=none]').each(function(){this.checked = false; update_show($(this));}); })