Page MenuHomePhabricator

Error creating sub-project that permissions say should be possible
Closed, ResolvedPublic

Description

Steps to Reproduce

  1. Navigate to https://phabricator.wikimedia.org/project/subprojects/1613/
  2. click Create Subproject
  3. click okay to the dialog about moving everything to a subproject

Actual Results

Access Denied: Unknown Object (????)
You do not have permission to edit this object.
Users with the "Can Edit" capability:

    This object has a custom policy controlling who can take this action.

Expected Results
A subproject is created.

Event Timeline

@JAufrecht: Does that page say

You can create milestones for this project.
You can create subprojects for this project.

for you?

Yes, it says:

Subprojects and Milestones

Prototype
    	Warning	Subprojects and milestones are only partially implemented.
Milestones
    	None Created	You can create milestones for this project.
Subprojects
    	None Created	You can create subprojects for this project.

    Create Milestone
    Create Subproject
JAufrecht renamed this task from Can't create a sub-project to Error creating sub-project that permissions say should be possible.Feb 18 2016, 6:28 PM

@JAufrecht : you are not a member of acl*Project-Admins - only project-admins can create projects.

When it says "You can create milestones for this project." it's not checking permissions, it's only checking whether it's valid to create milestones / subprojects for this particular project. For example, milestones can't have subprojects and it would say so in that case.

This got fixed upstream slightly ahead of where you guys are. Upstream task is https://secure.phabricator.com/T10357.

Modern upstream behavior is to disable the actions visually and show a more helpful dialog ("You don't have permission to create projects.").

Can I do anything to facilitate getting project admin status? See https://phabricator.wikimedia.org/T706#1815739.

Stashbot subscribed.

Mentioned in SAL [2016-02-18T18:53:07Z] <twentyafterfour> tagged phabricator hotfixes as release/2016-02-18/2 in the phabricator/phabricator repository. This includes fixes T127290 and T127349

mmodell claimed this task.

Can I do anything to facilitate getting project admin status? See https://phabricator.wikimedia.org/T706#1815739.

@JAufrecht: done.