prune all dead/blocked contacts from allowed permissions, ok to keep them in "deny" lists -

Contacts will be pruned when creating the editor. They can't be added with the ACL selector,
but we won't prevent them from being added through other means.
Allowed groups will be pruned on item submit.
This commit is contained in:
friendica 2012-12-13 21:02:14 -08:00
parent 6faadc9662
commit 6b36863dd8
3 changed files with 31 additions and 2 deletions

View file

@ -309,7 +309,7 @@ function notifier_run(&$argv, &$argc){
}
$allow_people = expand_acl($parent['allow_cid']);
$allow_groups = expand_groups(expand_acl($parent['allow_gid']));
$allow_groups = expand_groups(expand_acl($parent['allow_gid']),true);
$deny_people = expand_acl($parent['deny_cid']);
$deny_groups = expand_groups(expand_acl($parent['deny_gid']));