Bug 698756
Summary: | User with repo manager permissions cannot edit a private repo [created for someone else?] | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Corey Welton <cwelton> |
Component: | Content | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 4.0.0 | CC: | hrupp, mfoley |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 585306, 697844 |
Description
Corey Welton
2011-04-21 17:23:33 UTC
Actually it appears that user repomgr cannot access any repo made private, even if it is owned by himself! ...or any repo, private or not. Lukas, any impact on the scripts from alerts work? (10:20:52 AM) ccrouch: lkrejci: any comments for https://bugzilla.redhat.com/show_bug.cgi?id=698756 (10:21:55 AM) lkrejci: ccrouch: i believe that has the same cause as https://bugzilla.redhat.com/show_bug.cgi?id=698760 (10:22:16 AM) lkrejci: and that's the fact that i borked the conversion from repo.xhtml to repo-plain.xhtml (10:22:28 AM) lkrejci: it's a super easy fix, i will commit it shortly commit 75d48dacc84f2d0020f93f6849367e267588b020 Author: Lukas Krejci <lkrejci> Date: Mon Apr 25 17:55:08 2011 +0200 BZ 698760, BZ 698756 - polishing the repo details page. Edit mode wasn't functioning due to missed out parameter definitions during conversion from repo.xhtml to repo-plain.xhtml. The "private" toggle in edit mode wasn't working due to usage of wrong UI bean (a copy&paste bug) The user with repo manager privs can view any repo now even if s/he isn't an inventory manager - wrong perm check used in the UI. This is verified RHQ 4.0 released version, as follows: followed the steps to reproduce documented above and observed the correct behavior. the repomgr (with repo permissions) could view and edit the private repo owned by repouser. the repo user (with no repo permissions) could view and edit the private repo owned by him. another repo user, repouser2, with no permsissions who did not own the private repo could not view the private repo. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |