(role: CollabRole)
| 32 | } |
| 33 | |
| 34 | export function canTransferOwnership(role: CollabRole): boolean { |
| 35 | return role === "owner"; |
| 36 | } |
| 37 | |
| 38 | export function canAddAnnotations(role: CollabRole): boolean { |
| 39 | return hasPermission(role, "collaborator"); |
nothing calls this directly
no outgoing calls
no test coverage detected