Red Hat Bugzilla – Bug 111725
There's no longer a way to edit Authoring Kit steps
Last modified: 2007-04-18 13:00:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Description of problem:
With the Loader/Initializer split, we've removed the functionality
provided by the XML Content Type initializer, which allowed you to
change the authoring kit steps per content type. This functionality
doesn't fit well with the idea of generic, downloadable rpms. However
the original requirement is still there, so it's clear that something
else is required to replace it.
There is some old code for editing authoring kits in
c.a.cms.ui.authoringkit. It's not pretty and had some bugs, but after
a bit of hacking I can confirm that it does the job.
I branched CMS to test the re-introduction of this code. P4 changelist
38618 fixes the code and adds it back in to the content type editing
view on my branch.
Please note that the lack of this functionality is a blocker for APLAWS.
Version-Release number of selected component (if applicable):
Integrated into aplaws-ws3 @39264. It still needs some review before
integrating into the trunk.
Still need further review, but initial impressions are the code seems
to work as advertized, with one important fix needed: there are no
permissions checks. I'll need to add permissions check for
content_type_admin privileges. Also, now that we've globalized the
authoring step names, the UI needs to show the localized view in the
table of steps, but allow direct entry of the label string in the
textfield (and entry of the bundle name for where the label is stored).
Updates to aplaws-ws3 @39373:
1) permissions checks added
2) buggy step deletion code fixed
3) Code updated to work with Randy's recent authoring kit