Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of permissions after resubscribe #287

Merged
merged 3 commits into from
Jun 28, 2022
Merged

Conversation

davidzhao
Copy link
Member

When a user subscribes a track, but then have permission revoked. The
revoked state may be cached even when permissions are granted afterwards.
Since subscription is an indicator that a user is allowed to subscribe
to a track. We'll flip _allowed to true on subscribe.

When a user subscribes a track, but then have permission revoked. The
revoked state may be cached even when permissions are granted afterwards.
Since subscription is an indicator that a user is allowed to subscribe
to a track. We'll flip _allowed to true on subscribe.
@changeset-bot
Copy link

changeset-bot bot commented Jun 28, 2022

🦋 Changeset detected

Latest commit: 070739b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@davidzhao davidzhao requested review from lukasIO and boks1971 and removed request for lukasIO June 28, 2022 05:27
@davidzhao davidzhao requested a review from lukasIO June 28, 2022 05:35
@davidzhao davidzhao merged commit 3da0099 into main Jun 28, 2022
@davidzhao davidzhao deleted the allow-after-subscribe branch June 28, 2022 07:53
@github-actions github-actions bot mentioned this pull request Jun 28, 2022
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.

2 participants