Skip to content

Allow members to see tasks from repos they have access to#169

Open
jrchatruc wants to merge 2 commits intomainfrom
fix/task-visibility-for-members
Open

Allow members to see tasks from repos they have access to#169
jrchatruc wants to merge 2 commits intomainfrom
fix/task-visibility-for-members

Conversation

@jrchatruc
Copy link
Copy Markdown
Collaborator

Summary

  • Members could only see tasks they personally created, even if they had access to the repo
  • Now check_task_ownership also checks repo permissions — if a user has access to the task's repo (via org membership or explicit grant), they can view the task
  • Task list also updated to show tasks from accessible repos, not just tasks the user created
  • Affects all task endpoints: detail, conversations, logs, diff, actions, PR creation, reopen

Test plan

  • As admin, grant a member access to a repo in Settings
  • As that member, verify they can see tasks from that repo created by other users
  • Verify they can view conversations, logs, diff, and other task data
  • Verify admins still see everything
  • Verify viewers only see tasks from repos explicitly granted to them

Previously non-admin users could only see tasks they created.
Now members can also see tasks from any repo in the org, and
from repos explicitly granted via user_repo_permissions. This
applies to task list, task detail, conversations, logs, diff,
and all other task endpoints.
Claude messages stay amber, your messages stay blue, and other
users' messages now show in violet so you can tell them apart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant