Page MenuHomePhabricator

Maniphest task create fails with Access Denied: VOID Unknown Object (VOID) when default Edit and/or View policy is "No One"
Closed, ResolvedPublic

Description

Use case: I have configured a Default Edit and/or View Policy = "No One" in Application ->Maniphest -> Edit policies
and when I add a task and even if I change the view/edit/project to a project I am a member of, I get:

Access Denied: VOID Unknown Object (VOID)

You do not have permission to edit this object.Users with the "Can Edit" capability:By default, no one can take this action.The owner of a task can always view and edit it.

This bug is not present when I select All users in Application ->Maniphest -> Edit policies for Edit and/or View Policy

Expected behaviour: Editable by defaults to "No One" and allows me to create a new Maniphest task if I change editable/viewable by to something else than "No One"

source: https://secure.phabricator.com/chatlog/channel/6/?at=113916

@epriestley thinks we're checking the edit permission too early.

Event Timeline

allan.laal raised the priority of this task from to Needs Triage.
allan.laal updated the task description. (Show Details)
allan.laal added a project: Maniphest.
allan.laal updated the task description. (Show Details)
allan.laal added a subscriber: allan.laal.
allan.laal renamed this task from Maniphest task create fails with Access Denied: VOID Unknown Object (VOID) when default Edit policy is "No One" to Maniphest task create fails with Access Denied: VOID Unknown Object (VOID) when default Edit and/or View policy is "No One".Jan 31 2014, 12:09 AM
allan.laal updated the task description. (Show Details)

The default View policy of "No One" also affects this bug

btrahan added a project: Policy.