Red Hat Bugzilla – Bug 698760
Repositories - "Private" toggle (and possibly owner) cannot be modified after initial creation
Last modified: 2011-05-23 21:17:58 EDT
Description of problem:
After creating a repo, the private toggle and the owner cannot be edited via conventional means.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new repo called "test repo". Set enable the "Private" flag, and set the owner as some user.
2. Navigate back to the main repo view
3. Click the "test repo" link
4. Attempt to edit the repo to remove the private flag or change owner, etc.
No repo details -- including those above or repo name, even -- can be modified.
User can modify repo details.
Lukas, any impact on the scripts from alerts work?
This is a quite serious UI bug.
While the users are still able to add/remove packages in the repos, they can't edit the repo details. This is mainly important for setting the repo public/private - i.e. for sharing/not sharing the packages with other users (which was the whole point of authz changes in the content subsys).
I am sure this used to work and it looks like it is a simple UI bug.
Author: Lukas Krejci <email@example.com>
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.
tested RHQ 4.0 community release. on a private repo, i could login as that user and edit/toggle the private checkbox. As repo mgr, I could additionally change the owner.
Bookkeeping - closing bug - fixed in recent release.