Fix returning of 'Email Reviewers' capability via REST
At the moment /accounts/self/capabilities/ doesn't return the
'Email Reviewers' capability when it is not explicitly assigned. This
is wrong since by default everyone has the 'Email Reviewers'
capability.
If 'Email Reviewers' capability is allowed or denied,
/accounts/self/capabilities/ returns the 'Email Reviewers' capability
always as true, which is wrong for the DENY case.
Change-Id: Ia6773bb89df875373298057f3fe32cc3fac88368
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2 files changed