Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 12 Feb 2021 14:46:44 +0000 (15:46 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 12 Feb 2021 14:49:04 +0000 (15:49 +0100)
commitb17cfdaf7cff17d14270f657ceb80c27c4c057e3
treeb8f48d9279c27f73e3e1dc6e3b8e9033783b08dd
parent2da7a040b6895e8396b90c5dd87bf6b98537ba86
Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`

Unfortunately the `permissions` form a logical disjunction, not a conjunction,
thus we can't check both permissions. The `canEditMailAddress` is more fitting,
because even without `canMailUser` the admin could simply look up all users
manually if they are allowed to edit (and thus see) mail addresses. It's just a
larger effort.

Resolves #3963
com.woltlab.wcf/objectType.xml