Don't show error on ACL modification if a section is added more than once
Even if the RPC to change the access rights of a project returns
successfully it might be that not all ACL modifications were saved
successfully since modifications to refs which are not owned are
ignored. This is why on client side there is a check to verify if all
modifications were successfully saved and if not the user is informed
about failed modifications with an error message.
This error message was incorrectly displayed if multiple sections for
the same ref were added. This is now fixed by merging the expected
sections before doing the verification.
Change-Id: I8236bfa33ab5cdf215770b2cf5f47bd798ee0b94
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
3 files changed