https://bugzilla.wikimedia.org/show_bug.cgi?id=28462

             Bug #: 28462
           Summary: Allow only specific users to review their own
                    revisions
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: CodeReview
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: stwalkers...@googlemail.com
                CC: innocentkil...@gmail.com, s...@reedyboy.net
    Classification: Unclassified


Created attachment 8389
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8389
Patch to add codereview-review-own user right

Related to bug 27797

While reviewing your own code is bad practice, there are several instances I
have run into on my instance of CodeReview where other people have checked code
but not been bothered to mark it as OK in CodeReview.

This patch adds a new user right which by default is granted to only those in
the svnadmins group. If the user has the right, it will let them mark their own
revisions as OK like it did before bug 27797. If they don't, it won't have any
effect on the current behaviour.

The expected use of this is to prevent users from marking their own revisions
as OK, unless you're absolutely sure they already know this and won't ever mark
their own revisions as OK without good reason.

This is a patch which I wrote specifically for my instance, but I'm submitting
it here in case it's useful for someone else.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to