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

Apply the PermissionSystem.IsAtLeast method #1015

Merged

Conversation

Ryan089
Copy link
Contributor

@Ryan089 Ryan089 commented Feb 14, 2023

Summary

Replaces TryGetUserRole calls with IsAtLeast calls, as introduced in #1014.

Technical Notes

Replaced calls are not strictly equivalent. Previously, a Server Owner (hierarchically greater than an Administrator) would not be able to start rounds or access Administrator controls. That bug is resolved with the use of the IsAtLeast method.

Fixes (optional)

Completes the optional part of #1001.

Copy link
Contributor

@stilnat stilnat left a comment

Choose a reason for hiding this comment

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

good work !

@stilnat stilnat merged commit 73d15a2 into RE-SS3D:develop Feb 14, 2023
TaylorNAlbarnaz pushed a commit to TaylorNAlbarnaz/SS3D that referenced this pull request Feb 15, 2023
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