[Change] Upcoming changes to project privacy settings

Hello!

We’re making changes to project privacy settings. This post outlines the Asana API changes coming to support this new functionality.

Who is Impacted

You might be impacted or interested in these updates if your application reads, creates, or modifies projects.

For example:

  • Fetching a project to determine if it is public
  • Creating a project
  • Creating a project from a template
  • Updating a project to be private or public

What’s new

Project privacy setting

Soon, projects will have a privacy_setting to determine whether they are public to a workspace, private to a team, or private. Here are the possible values (including a temporary value).

If not specified, a project’s default privacy_setting will be private_to_team or a default that the Asana admin has set.

privacy_setting Project visibility
public_to_workspace The project is visible to anyone in the Asana workspace
private_to_team (temporary) The project is visible only to members of the team. This will be deprecated once projects can be shared with teams (see note below).
private Project is visible only to project members

A note on private_to_team: When Asana introduces teams as project members (targeting: beginning of 2024), this setting will be deprecated in favor of private. A project can be marked private and shared with one or more teams.

Temporary Restrictions for Private Teams

To prevent a breaking API change, private teams will not be able to have projects with privacy_setting: public_to_workspace. In addition, if a team has a public_to_workspace project, it cannot be changed to a private team until all of its projects are also private or private_to_team. This is to prevent a project from having a null team value because the team is not visible to an API user. As a workaround, users may move a project into a public team.

These restrictions will be lifted once we’ve communicated and implemented the ability to create a project without a team association. More to come on this!

Deprecating the public field

Once this feature is rolled out out to all Asana customers in February, we will begin a deprecation cycle for the boolean public field on projects. This property will become read-only in favor of privacy_setting.

In June 2024, public will become read-only and PUT or POST requests which attempt to modify this field will fail with an error. If you need more time to migrate, you can use this flag to temporarily opt-out of the change until August 2024:

Asana-Disable: project_privacy_setting

This change will be made to any endpoint which exposes the project resource, including:

  • GET, POST /projects
  • GET, PUT /projects/{project_gid}
  • POST /teams/{team_gid}/projects
  • POST /workspaces/{workspace_gid}/projects
  • POST /project_templates/{project_template_gid}/instantiateProject
  • POST /projects/createFromAsanaTemplate

Reason for change

Today, projects that are public to private teams or membership by request teams cannot be private to org, and projects that are public to public teams must be public to org.

With these changes, users will be able to make their project private to members, private to team, or shared with their organization.

Timeline

Here is a rough timeline we are targeting for these changes which may be adjusted. We will post updates in this thread. You can subscribe to this thread for updates.

Updated: May 29, 2024

Beginning of November 2023

  • A gradual rollout begins for privacy_setting on projects in the Asana web app

February 2024

  • privacy_setting is fully released to all Asana customers and available in all projects API requests
  • public is marked deprecated in Asana API documentation

June 26, 2024

  • public is becomes read-only
  • Use an Asana-Disable: project_privacy_setting header to temporarily opt-out and continue writing to the public field
  • Temporary restrictions for private teams (mentioned above) will be removed.

August 28, 2024

  • public field is read-only to all API clients

Thanks!
John Baldo
Asana API Team

2 Likes

@John_Baldo, if I’m understanding this correctly, then if you do the above change, you’re going to find yourselves in the same problematic situation that Asana finds itself right now with the breaking change you just made that reduced the default project permissions (and without any warning).

Along with @lpb, @Bastien_Siebman and others, we’re hoping you reverse the current change and make admin the default for projects; and (again if I’m understanding this upcoming change, which I may not be), I think you’re going to repeat the same mistake by reducing the default access on a project and forcing users to visit each and every project that used to be private to team and invite the team as a member of every such project.

I realize both of these changes are at the core product level, not just the API; but please encourage the powers-that-be to think this through and don’t make the same mistake twice!

(But actually I hope I’m wrong in my interpretation of this upcoming change.)

Thanks, @Phil_Seeman . I’ve passed that on. Good point. Since I’ll be out for a bit, you may get a reply from someone else or a delayed follow up from me once I’m back.

One difference I can point out from the API perspective is that you’ll be able to set/modify this over the API whereas you’re not able to do that right now with membership access_level (though it’s coming!) or the default access level. But this could obviously still be disruptive.

Will follow up.

3 Likes

Thanks for documenting this concern @Phil_Seeman! I’m one of the folks who has been working on this change. To clarify, when we remove private_to_team as an option and replace it with private, we will add the team as a member so there will be no change to access (via the API or in the application).

5 Likes

Timeline Update

Previously, we shared that this update would be released to all Asana customers in October. Our revised target for 100% rollout is the end of November.

Beginning of November 2023

  • A gradual rollout begins for privacy_setting on projects in the Asana web app

End of November 2023

  • privacy_setting is fully released to all Asana customers
  • Use Asana-Enable: project_privacy_setting header to opt-in to preview projects without public over the the API

Beginning 2024

  • Temporary restrictions for private teams (mentioned above) will be removed.

March 2024

  • Use an Asana-Disable header to opt-out of projects without public over the the API

June 2024

  • public field is deprecated

Additional Changes

Temporary Restrictions for Private Teams

To prevent a breaking API change, private teams will not be able to have projects with privacy_setting: public_to_workspace. In addition, if a team has a public_to_workspace project, it cannot be changed to a private team until all of its projects are also private or private_to_team. This is to prevent a project from having a null team value because the team is not visible to an API user. As a workaround, users may move a project into a public team.

These restrictions will be lifted once we’ve communicated and implemented the ability to create a project without a team association. More to come on this!

The original post has been updated to reflect these changes and additions! Please let us know if you have questions or concerns.

1 Like

Hi, I am having some difficulty following this (sorry) but after the recent roles changes that has created absolutely havoc across our small firm (still unraveling) I sort of get the drift (but not really), I would appreciate some guidance to avoid absolute chaos erupting.

  1. We have two people that have private teams and they will want it to stay that way. What should I tell them to do?
  2. If all of our teams are set to public to the organization, what should we do at the Team level? Project Level?
  3. In any teams were to be “by request”, what should we do to keep them that way.

Any guidance appreciated – I am overwhelmed with the amount of time it is taking to manage Asana changes and the impacts.

Hi @Jbir1 ! Thank you for documenting these questions. To clarify, we do not intend to change effective access for existing teams or projects with this change.

The “temporary restrictions” that @John_Baldo references above will apply only to a net-new configuration: we will prevent users from creating a public_to_workspace project in a private team or making a non-private team with public_to_workspace projects private. Let us know if anything remains unclear, of course!

2 Likes

Thank you so much for helping me understand :slight_smile:

1 Like

New project privacy settings are now rolled out to all Asana customers!

You can opt-in to receiving project_privacy over the API by setting this header in your requests.

  • In 3 months (May), this change will be enabled by default.
  • In 6 months (August), the public field will be deprecated in favor of project_privacy.
Asana-Enable: project_privacy_setting 

Timeline Update

The timeline was updated in the original post.

Beginning of November 2023

  • A gradual rollout begins for privacy_setting on projects in the Asana web app

February 2024

  • privacy_setting is fully released to all Asana customers
  • Use Asana-Enable: project_privacy_setting header to opt-in to preview projects without the public field over the the API

May 2024

  • Use an Asana-Disable: project_privacy_setting header to opt-out of projects without public over the the API
  • Temporary restrictions for private teams (mentioned above) will be removed.

August 2024

  • public field is deprecated
3 Likes

I just happened to test this over the long weekend for my Asana2Go, but I don’t think your update changes anything about that test.

I enabled the header to test, confirmed all was as expected, then removed the added header so as to let Asana2Go behave with the default dates, which I figure is safe unless I get requests otherwise.

Thanks,

Larry

1 Like

@John_Baldo - not sure that you’re the right person for this question; sorry if this is misdirected! I’m wondering if this is something that will be exposed in the UI on project templates themselves. I see that you can instantiate a project with the privacy_setting as a field in the data object, but is there a default setting that can be applied to a template? Presumably calling that endpoint without a privacy_setting is default to something, but I can’t seem to figure out how to set that. For context:

EDIT: disregard the above - just saw that the functionality I’m looking for (in UI) is forthcoming!

1 Like

Hi All,

I’m replying here to let you know that we’ve updated this post with these changes:

  • The public field will become read-only on on June 26, 2024 instead of being removed completely as we previously announced.
  • You may opt-out of the the change until August 28, 2024 by adding a Asana-Disable: project_privacy_setting header to your requests
  • On May 30, 2024 at about 3:13 Pacific Time / USA we sent an email to users with apps and API tokens which are likely to be impacted by this change. (Sent from updates@info.asana.com)

Let us know if you have questions or need support with this change.

Thanks,
John

3 Likes

If an app tries to update a project and this field is included, will the write fail or will the field just be ignored?

We plan for it to fail with an error so that there aren’t any surprise or silent failures.

1 Like

Got it, thanks!

Hey @John_Baldo,

I notice the public property is not marked as “Deprecated” here in the API docs: Instantiate a project from a project template

Thanks, @Phil_Seeman. Will work on updating that.

2 Likes

Hi Guys,

I’ve stumbled upon this because I use Microsoft Power Automate to Create Projects when I receive bookings for my business. The flow I use to do so has broken with this recent change, just wondering if there’s anything I can do to get it working again, or whether I need to wait for a change on the Microsoft side?

One of the fields in the “Create Project” Action is “Public”, and regardless of what I put in here the action fails with the same error:
“error”:“public_passed_with_privacy_setting_change_enabled”,“message”:“You cannot pass the public field while opting-in for the privacy_setting feature.”,“user_message”:“You cannot pass the public field while opting-in for the privacy_setting feature.”

Cheers,
Justin

2 Likes

That’s because the people who created/maintain the PowerAutomate integration did not update it… I’ll let Asana know see if they can rollback the change until it is fixed…

Another temporary option, until Power Automate removes the public property, would be to do the call as an HTTP action in Power Automate. You would have to construct it manually using the Create Project API endpoint, and set a header of Asana-Disable: project_privacy_setting as documented above. This solution should work until August 28th, which hopefully would be enough time for the fix to be made in Power Automate. :crossed_fingers:

3 Likes