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/client permissions enum #416

Merged
merged 5 commits into from
Mar 12, 2023

Conversation

RMrenex
Copy link
Contributor

@RMrenex RMrenex commented Mar 8, 2023

Hi,

I had proposed at one time to add enum for adding and removing permissions to facilitate the use of the api. Here is the first part which concerns only the client part. I'll do the others next time :)

@@ -1002,9 +1048,6 @@ public void deleteChannelGroup(int groupId, boolean force) {
* @see ChannelGroup#getId()
* @see Permission#getName()
*/
public void deleteChannelGroupPermission(int groupId, String permName) {

Choose a reason for hiding this comment

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

Would instead deprecate the method and describe what to use instead. Delegate the call in an adapted way to the new method.

Just deleting a method is a breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't pay attention, it's a mistake on my part to have deleted this method. I will correct it.

@rogermb rogermb merged commit 6ea14e0 into TheHolyWaffle:master Mar 12, 2023
@rogermb
Copy link
Collaborator

rogermb commented Mar 12, 2023

Hi @RMrenex! Amazing work, merged! Thank you for contributing this to the API 😄

@yannicklamprecht thanks for the review and for spotting the breaking change!

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.

3 participants