commit 8ac7bf43e7bf4c032a131864d539b89e8ce60101
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon May 14 12:50:38 2018 -0700
Fix access control for single host addresses
In CIDR notation, the max prefix-length is typically
used to denote individual host addresses, for example:
2620:52:0:13b8::fe:e7 and 2620:52:0:13b8::fe:e7/128
are semantically the same.
Fix the access-allow API to raise 400 Bad Request if
an address by either notation already exists in the
manila database for a given share.
Change-Id: I6e790fd0edd82064a3c5cda8a919c9eeb2da85d0
Closes-Bug: 1767430
(cherry picked from commit 50f957eefdd97eca470ae66adad3e993aa8aaaa8)
Reviewed: https:/ /review. openstack. org/575595 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=8ac7bf43e7b f4c032a131864d5 39b89e8ce60101
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 8ac7bf43e7bf4c0 32a131864d539b8 9e8ce60101
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon May 14 12:50:38 2018 -0700
Fix access control for single host addresses
In CIDR notation, the max prefix-length is typically 52:0:13b8: :fe:e7 and 2620:52: 0:13b8: :fe:e7/ 128
used to denote individual host addresses, for example:
2620:
are semantically the same.
Fix the access-allow API to raise 400 Bad Request if
an address by either notation already exists in the
manila database for a given share.
Change-Id: I6e790fd0edd820 64a3c5cda8a919c 9eeb2da85d0 a470ae66adad3e9 93aa8aaaa8)
Closes-Bug: 1767430
(cherry picked from commit 50f957eefdd97ec