[katello-devel] Demotions and deletions - solution

Lukas Zapletal lzap at redhat.com
Wed Sep 5 15:16:46 UTC 2012


On Wed, Sep 05, 2012 at 10:20:51AM -0400, Brad Buckingham wrote:
> In email on Friday, I proposed a solution (which essentially is
> similar to 1A).  The following is that proposal modified based on
> Mike's reply (refer to his email 08/31/2012 05:24 PM EST) for full
> details:
> 
> 1. If the user attempts to delete a repo (from providers screen) and
> the repo was not previously promoted, allow the deletion to occur.
> (This is also today's behavior.)
> 
> 2. If the user attempts to delete a repo (from providers screen) and
> the repo was previously promoted:
> 
>       a. Do not allow the repo to be deleted.  In order to support this,
> 
>           i. Disable the 'remove' link so the user doesn't have the
> option.
>              Add a tipsy next to the remove link that when hovered
> the user
>              can be given information on 'why' the remove link is
> disabled.
>              (e.g. "Before removing this repo from the product, it
> must first
>              be deleted from the following environments using a deletion
>              changeset: A, B, C.")

Ok, I can take this approach.

Actually it's the most simple one, I like that.

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine




More information about the katello-devel mailing list