As reported at #1028378: "Administer releases" checkbox visible on maintainers tab for sandboxes ...

Verified on a local test site, so it's definitely a project_release bug. We just need to do the trick where project_release_project_permission_info() inspects the given $project and alters what it says accordingly. See #1003552: Pass the project to hook_project_permission_info() for more.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

Assigned: Unassigned » dww

Rolling a quick patch for this, stay tuned.

dww’s picture

Status: Active » Fixed
Issue tags: +git phase 2, +git sprint 8
FileSize
1.45 KB

Committed the attached to HEAD, imported into bzr vendor, and merged into the git-dev branch. I can't see it in action now, since git-dev is currently offline while being rebuilt. But I tested locally and it's fine.

dww’s picture

Issue tags: +sandbox projects

Tagging for sandbox projects, too...

eliza411’s picture

Status: Fixed » Needs work
FileSize
34.41 KB
16.84 KB

I'm reopening this because after the Jan 19 build "Administer releases" still appears, unchecked and disabled. I can assign it to a co-maintainer, and when I do, it gets checked for me.

In addition (and seems like it's related), the Releases tab is still visible. I can check the box, and the setting is saved. This does nothing before I add a co-maintainer and still appears to do nothing afterward, although I haven't tested past this stage so I'm not totally sure what I would see.

dww’s picture

Status: Needs work » Needs review

I bet all this is from #1032634: Creating new projects totally broken. Please re-test once that's deployed to another rebuild of git-dev.

dww’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -git phase 2, -sandbox projects, -git sprint 8

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