diff options
author | Thiago da Silva <thiago@redhat.com> | 2013-12-16 12:00:38 -0500 |
---|---|---|
committer | Luis Pabon <lpabon@redhat.com> | 2014-01-10 12:52:53 -0800 |
commit | 205a6e4aa7e86b1e82babd3fa64d2cf002ccdaef (patch) | |
tree | d5cc847f3f24bb96eb88638519a74cf812a981ab /gluster/swift/common/middleware/gswauth/bin/gswauth-list | |
parent | ac55cfb30b8600a105575783f26c1fe2048407af (diff) |
Fix bug where admin is able to delete reseller_admin
Changed the code to only allow the super_admin to delete a reseller_admin.
This follows the same logic of user creation, where only the super_admin
can create a reseller_admin.
Also, took the opportunity to refactor some code and implemented
get_user_detail method to remove duplicated code
Bug 1260239: https://bugs.launchpad.net/gluster-swift/+bug/1260239
Change-Id: I9e4866cd7ad08698f427846be566ab2364ad4850
Signed-off-by: Thiago da Silva <thiago@redhat.com>
Reviewed-on: http://review.gluster.org/6516
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'gluster/swift/common/middleware/gswauth/bin/gswauth-list')
0 files changed, 0 insertions, 0 deletions