Allow new articles to be renamed by anyone until they're first published

VERIFIED FIXED in 1.3

Status

VERIFIED FIXED
10 years ago
9 years ago

People

(Reporter: djst, Assigned: paulc)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tiki_fixed)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Currently it's not possible to rename articles by contributors; only locale leaders and administrators have this ability.

Often when creating a new article, or when starting a translation of an existing en-US article, the name often needs to change before it's published.

New KB articles (new en-US articles or new translations of an existing en-US article) should be possible to rename by any contributor *as long as it's not published for the first time*. In other words, an article that only exists in the Staging Area category should be possible to rename. 

Once the article is published (i.e. moved to the Knowledge Base category), the same renaming restrictions that we have today should apply, to avoid problems with broken links.

Updated

10 years ago
Target Milestone: 0.9 → 1.1

Updated

10 years ago
Duplicate of this bug: 465946

Updated

10 years ago
Duplicate of this bug: 480471

Updated

10 years ago
Assignee: nobody → smirkingsisyphus

Updated

10 years ago
Target Milestone: 1.1 → 1.0

Updated

10 years ago
Target Milestone: 1.0 → 1.0.2

Updated

9 years ago
Target Milestone: 1.0.2 → Future

Updated

9 years ago
Target Milestone: Future → 1.3
(Assignee)

Comment 3

9 years ago
Created attachment 393061 [details] [diff] [review]
patch, v1

This adds a pref feature_wikiapproval_renamefirst on tiki-admin.php?page=wiki
When enabled, any logged in user can rename the page before it is first approved.
Assignee: smirkingsisyphus → paul.craciunoiu
Attachment #393061 - Flags: review?(laura)

Updated

9 years ago
Attachment #393061 - Flags: review?(laura) → review+
(Assignee)

Comment 4

9 years ago
r49030 / r49031
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Assignee)

Updated

9 years ago
Whiteboard: enable pref
(Assignee)

Comment 5

9 years ago
I enabled the pref on staging. Marking on the whiteboard to remember for prod.
I'm logged in as a contributor on https://support-stage.mozilla.org/en-US/kb/oscar+the+grouch, and I don't see an option to rename it, just:

    * Print
    * Edit this page
    * Translate this page
    * Monitor this page
    * Source
    * History
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 7

9 years ago
Indeed. I thought I put the rename option there for people without privileges too, but I guess I didn't.
(Assignee)

Comment 8

9 years ago
The pref wasn't enabled on stage. Try again Stephen.
Status: REOPENED → RESOLVED
Last Resolved: 9 years ago9 years ago
Resolution: --- → FIXED
Verified FIXED; renamed the article in comment 6 to https://support-stage.mozilla.org/en-US/kb/oscar+the+grouch2, while logged in as a Contributor.
Status: RESOLVED → VERIFIED
(Assignee)

Comment 10

9 years ago
Maybe this could be upstreamed to Tiki.
feature_wikiapproval_renamefirst enabled on prod
Whiteboard: enable pref

Comment 12

9 years ago
In Tiki4, it is possible to assign any of the 220 perms to categories. Thus, if there is a category for new contributions, we can assign any perm to that. 

There is also a new concept:
http://doc.tikiwiki.org/Category+Transitions

There are also new permissions (tiki_p_remove_object, tiki_p_add_object)
http://dev.tikiwiki.org/Workspace+Roadmap#Category_security


So this could be used like this:
1- Registered users can add a page to category "Proposed"
2- While it is there, tiki_p_rename is possible by Registered users.
3- Editors (but not Registered) are allowed to move this page to category "Official" and in this category, tiki_p_rename is not possible by Registered users.
Whiteboard: tiki_fixed
You need to log in before you can comment on or make changes to this bug.