Download & Extend

Prevent creating branches through the backdoor

Project:Version Control API
Version:5.x-2.x-dev
Component:Commit Restrictions
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

We need a port of commit 90473 from cvs.module, which fixed issue 198278.

Comments

#1

Version:5.x-0.9-rc5» 5.x-1.0

Still not implemented for 5.x-1.0.

#2

Project:Version Control API -- CVS backend» Version Control API
Version:5.x-1.0» 5.x-2.x-dev
Component:Code» Commit Restrictions

Ported from cvs.module. It's a bit different for Version Control API: instead of checking the branch names directly, we instead add them to the $operation['labels'] array (which was a minor todo item anyways!) so that higher-level write access checks like the Commit Restrictions module can catch this and abort the commit. Now we only need to verify that Commit Restrictions actually does that, to be checked with something similar like the example given in the above cvslog issue.

#3

Status:active» fixed

Tested; works.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.