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

Feature: Dynamic permission checking. #315

Merged
merged 4 commits into from
Mar 9, 2024

Conversation

Tinyblargon
Copy link
Collaborator

@Tinyblargon Tinyblargon commented Mar 5, 2024

Add a framework for checking if the user has the right permissions to do a given operation.
The main function this adds is *Client.CheckPermissions().

This Feature is mostly adding new code and isn't modifying any existing code/behavior.
The only place some modification was made to existing code is in ConfigQemu.setAdvanced() where *Client.insertCachedPermission() is called as an example, and to satisfy the static check. This adds an item to a currently empty empty cache.

Closes #308

framework for checking if the user has the right permissons to do a given operation.
@Tinyblargon Tinyblargon merged commit 08d2943 into Telmate:master Mar 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Dynamic permission checking.
2 participants