Ignore replicas in error state during allow/deny access.

Allow/deny access will be blocked only if share or its replica will be
in invalid state i.e. transitional states. Error state will be ignored.

Related-bug: #1965561
Change-Id: I180061a50fec8a9e76ef7ceb2787239ff82a2e12
Depends-on: Id23d04f8d18a0e30b511c4d501a1910f2f2b4ca6
3 files changed