correctly assign permissions when anyone is checked fixes #1595