#7014 Trove category editing improvements

asf_release_1.2.0
closed
nobody
42cc (385)
General
Cory Johns
2015-01-05
2013-12-20
Dave Brondsema
No

Restore the link to edit trove categories, was accidentally(?) removed in git show b55760a -- Allura/allura/templates/user_skills.html

Change trovecategories.enableediting from simply boolean to allow an option for admins only to edit. It should be a link on the /nf/admin sidebar

Add events (via g.post_event) for every category add/remove/edit, so that 3rd-party code can listen for those changes (e.g. to keep another database in sync).

Related

Tickets: #5233

Discussion

  • Dave Brondsema
    Dave Brondsema
    2014-01-23

    • labels: --> 42cc
     
    • status: open --> in-progress
     
  • Change trovecategories.enableediting from simply boolean to allow an option for admins only to edit. It should be a link on the /nf/admin sidebar

    Where do you want to store this option? It should be site-wise, right? Now it's stored in the config file and I didn't find any site-wide model for storing configuration. Should we add one?

    It still should be boolean option available for site admins to edit or you need something more flexible? Like specifying users who can edit perhaps.

     
  • Dave Brondsema
    Dave Brondsema
    2014-01-28

    Continuing to use the ini config file for this setting is fine. I was thinking that we could support not just trovecategories.enableediting = true|false but also trovecategories.enableediting = admin which would let site admins edit. At this point we don't have a need for more control over specific users or groups to have access.

     
    • status: in-progress --> code-review
     
  • Closed #524. je/42cc_7014

     
  • Cory Johns
    Cory Johns
    2014-02-20

    • QA: Cory Johns
     
  • Cory Johns
    Cory Johns
    2014-02-24

    • status: code-review --> closed
    • Milestone: forge-backlog --> forge-mar-7
     
  • Dave Brondsema
    Dave Brondsema
    2015-01-05

    • Milestone: unreleased --> asf_release_1.2.0