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
Hi, I wanted to ask you before doing this would it be appropriate to make an Enum for each permission to simplify the addition and removal of permissions?
Hi @RMrenex! Thank you for offering to help work on this feature 😄
Adding a Permission enum or something to that effect sounds like a great idea, and it would fit perfectly in the existing API!
You could even use the TS3Api's own getPermissions() method to get a list of all permissions (ID, name, and description) and generate the code from there 😃
Perhaps it would also be a good idea to capture whether we're dealing with a boolean or an integer permission in the code somehow, as this would allow us to do some range checks on value in the addXYZPermission methods. Do you agree?
Hi, I wanted to ask you before doing this would it be appropriate to make an Enum for each permission to simplify the addition and removal of permissions?
To have something like this :
The text was updated successfully, but these errors were encountered: