Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: cleanup for RGWDeleteObj::verify_permission()
- if the 'Effect' field of user policy and bucket policy is set to 'Allow', RGWDeleteObj::verify_permission() should return 0 instead of true; - as the same with bucket policy, if the 'Effect' field of user policy is set to 'Deny', RGWDeleteObj::verify_permission() should return -EACCES instead of false; Signed-off-by: Enming.Zhang <zvampirem77@gmail.com> (cherry picked from commit 8633464) Conflicts: src/rgw/rgw_op.cc : Resolved in verify_permission
- Loading branch information