Bug 1011400
Summary: | 500 Server Error when running 'bkr policy-grant' to wrong group/user | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | wangjing <jingwang> |
Component: | command line | Assignee: | Amit Saha <asaha> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | develop | CC: | aigao, asaha, dcallagh, ebaak, llim, qwan, rmancy |
Target Milestone: | 0.15.3 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-03 04:52:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 2
Amit Saha
2013-12-14 13:16:26 UTC
verified on beaker-devel(beaker-server-0.15.3-0.git.6.14ebabb.el6eng.noarch)-->pass step: 1. run: #bkr policy-grant --system=dev-kvm-guest-09.rhts.eng.bos.redhat.com --permission=edit_policy --group=sha HTTP error: 400 Client Error: BAD REQUEST Group 'sha' does not exist[root@dhcp-10-121 beakernew]# [root@dhcp-10-121 beakernew]# [root@dhcp-10-121 beakernew]# bkr policy-grant --system=dev-kvm-guest-09.rhts.eng.bos.redhat.com --permission=edit_policy --user=sha HTTP error: 400 Client Error: BAD REQUEST User 'sha' does not exist[root@dhcp-10-121 beakernew]# Actual results: same as expected results. Expected results: proper messages. This change is included in the Beaker 0.15.3 maintenance release: http://beaker-project.org/docs/whats-new/release-0.15.html#beaker-0-15-3 |