Fixes #18763 -- Added with_perm to User manager.

Should be ready for a review.
`.add(group1, group2)`