Fetching project permission (write/comment only) for a team

Hello everyone,

I can find out the permissions for a individual user membership on a project, but I can’t seem to find a way to know the equivalent but for a team.

For the authenticated user, I need to know if they can create issues. For that, I need to check if the member is in the project’s team (=ok) and whether that team has write/comment access (can’t find that anywhere).

Any help would be greatly appreciated! Thanks.

Denis from Marker.io

Hi :wave:
Might be what you are looking for https://developers.asana.com/docs/#get-a-project-membership

That’s the issue, I can only fetch memberships for users on a project.

There’s no way to fetch the team membership on a specific project in order to know whether that team is set on ‘comment_only’ or ‘full_write’ :frowning:

So having both the full team membership (New additions to the API: team memberships, project default views, and compression) and project membership is not enough, is that your point?

It looks like it.

  • I can know which team is linked to the project;
  • I can know if the user is part of that team;
  • I can’t know if that team is set as “comment only” :frowning:

You should comment on New additions to the API: team memberships, project default views, and compression to ask

Hi @denishacquin,

See my reply here: New additions to the API: team memberships, project default views, and compression