Description of problem: Getting 403 when listing system-groups using hammer Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140402.3-Satellite-x86_64-dvd1.iso How reproducible: always Steps to Reproduce: 1. create a system group using webui or hammer 2. # hammer system-group list Actual results: # hammer system-group list Forbidden - server refused to process the request Expected results: list of system groups Additional info: from the /var/log/foreman/production.log: ... Authorized user admin(Admin User) Katello::Errors::SecurityViolation: User admin is not allowed to access katello/api/v2/system_groups/index Completed 403 Forbidden in 227ms (Views: 0.4ms | ActiveRecord: 14.6ms)
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Created redmine issue http://projects.theforeman.org/issues/5062 from this bug
related to 1080475
oops i thought it would link? https://bugzilla.redhat.com/show_bug.cgi?id=1080475
The issue seems to be fixed in Satellite-6.0.3-RHEL-6-20140523.0-Satellite-x86_64 ... # hammer host-collection list --organization-id=1 ---|------|-------|------------ ID | NAME | LIMIT | DESCRIPTION ---|------|-------|------------ 1 | try | 5 | ---|------|-------|------------
Christine: Can you please verify, and if fixed close both the redmine issue and move this bug to ON_QA.
# hammer host-collection create --organization 'ACME_Corporation' --name 'testHostCollection' Host collection created # hammer host-collection list --organization 'ACME_Corporation' ---|--------------------|-------|------------ ID | NAME | LIMIT | DESCRIPTION ---|--------------------|-------|------------ 2 | testHostCollection | -1 | ---|--------------------|-------|------------
# hammer host-collection list --organization-id 1 ---|---------------|-------|------------ ID | NAME | LIMIT | DESCRIPTION ---|---------------|-------|------------ 2 | Capsules | 3 | 1 | RHEL 6 x86_64 | -1 | ---|---------------|-------|------------ VERIFIED: * apr-util-ldap-1.3.9-3.el6_0.1.x86_64 * candlepin-0.9.7-1.el6_5.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.9.7-1.el6_5.noarch * candlepin-tomcat6-0.9.7-1.el6_5.noarch * elasticsearch-0.90.10-4.el6sat.noarch * foreman-1.6.0.13-1.el6sat.noarch * foreman-compute-1.6.0.13-1.el6sat.noarch * foreman-gce-1.6.0.13-1.el6sat.noarch * foreman-libvirt-1.6.0.13-1.el6sat.noarch * foreman-ovirt-1.6.0.13-1.el6sat.noarch * foreman-postgresql-1.6.0.13-1.el6sat.noarch * foreman-proxy-1.6.0.6-1.el6sat.noarch * foreman-selinux-1.6.0-3.el6sat.noarch * foreman-vmware-1.6.0.13-1.el6sat.noarch * katello-1.5.0-25.el6sat.noarch * katello-ca-1.0-1.noarch * katello-certs-tools-1.5.5-1.el6sat.noarch * katello-installer-0.0.44-1.el6sat.noarch * openldap-2.4.23-34.el6_5.1.x86_64 * openldap-devel-2.4.23-34.el6_5.1.x86_64 * pulp-katello-plugins-0.3-1.el6sat.noarch * pulp-nodes-common-2.4.0-0.18.beta.el6sat.noarch * pulp-nodes-parent-2.4.0-0.18.beta.el6sat.noarch * pulp-puppet-plugins-2.4.0-0.18.beta.el6sat.noarch * pulp-puppet-tools-2.4.0-0.18.beta.el6sat.noarch * pulp-rpm-plugins-2.4.0-0.18.beta.el6sat.noarch * pulp-selinux-2.4.0-0.18.beta.el6sat.noarch * pulp-server-2.4.0-0.18.beta.el6sat.noarch * python-ldap-2.3.10-1.el6.x86_64 * ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch * ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch * rubygem-hammer_cli-0.1.1-2.el6sat.noarch * rubygem-hammer_cli_foreman-0.1.1-5.el6sat.noarch * rubygem-hammer_cli_foreman_tasks-0.0.3-2.el6sat.noarch * rubygem-hammer_cli_katello-0.0.4-4.el6sat.noarch
This was delivered with 6.0.3, which is the Satellite 6 Beta.
This was delivered in 6.0.3, the Beta version of Satellite 6.0