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

Check permissions for CreateMessages #6146

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Conversation

johnshaughnessy
Copy link
Contributor

When clients receive a CreateMessage, they should check whether the sender has the appropriate Permission to be spawning from that prefab.

Since all prefabs currently need a permission, and we'd like to try not to forget them, I've made the permission field of PrefabDefinition non-optional.

Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnshaughnessy johnshaughnessy merged commit 4e19e51 into master Jun 27, 2023
9 of 11 checks passed
@johnshaughnessy johnshaughnessy deleted the bug/spawn-permissions branch June 27, 2023 15:55
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