You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
Base permission should be hardcoded in the REST method itself. This only deals with permissions related to the parameters.
Cons:
No way to externally verify if you have required permissions. I'm uncertain if this is a issue, but a quick extraction method (based on func pointer) can be introduced later on.
Pros:
client side verification, no waste of rate limits and fails quicker
The text was updated successfully, but these errors were encountered:
REST requests usually have a set of permissions for usage. However, some might depends on what params you specify.
The idea here is client side permission checking. Each param type must implement
PermissionHolder
:Base permission should be hardcoded in the REST method itself. This only deals with permissions related to the parameters.
Cons:
Pros:
The text was updated successfully, but these errors were encountered: