Skip to content

Make Tag-Manage based on roles - #254

Merged
Zabuzard merged 2 commits into
developfrom
feature/tag_manage_use_roles
Nov 17, 2021
Merged

Zabuzard merged 2 commits into
developfrom
feature/tag_manage_use_roles

Conversation

@Zabuzard

@Zabuzard Zabuzard commented Nov 9, 2021

Copy link
Copy Markdown
Member

Overview

Implements and closes #253 .

This will make the /tag-manage command based on roles instead of the MESSAGE_MANAGE permission.

That way we have more granular control over who can use it and, in particular, grant it as a perk to roles such as Top Helpers or others (without giving them the extended permissions on Discord itself, such as message deletion).

Config changes

This changes the config and adds a new entry to it:

"tagManageRolePattern": "Moderator|Staff Assistant|Top Helpers .+"

@Zabuzard Zabuzard added the enhance command Modify or improve an existing command or group of commands of the bot label Nov 9, 2021
@Zabuzard Zabuzard added this to the Improvement phase 1 milestone Nov 9, 2021
@Zabuzard
Zabuzard requested a review from a team as a code owner November 9, 2021 11:12
@Zabuzard Zabuzard self-assigned this Nov 9, 2021
@Zabuzard
Zabuzard requested a review from a team as a code owner November 9, 2021 11:12
@Zabuzard
Zabuzard force-pushed the feature/tag_manage_use_roles branch from 0f844da to dd642ab Compare November 9, 2021 11:17
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Zabuzard Zabuzard mentioned this pull request Nov 16, 2021
13 tasks done
@Zabuzard

Copy link
Copy Markdown
Member Author

Merging. Last unreviews code change is 7 days ago. Got approved by marko and illu (before the force pushes).

@Zabuzard
Zabuzard merged commit 224d3fe into develop Nov 17, 2021
@Zabuzard
Zabuzard deleted the feature/tag_manage_use_roles branch November 17, 2021 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhance command Modify or improve an existing command or group of commands of the bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tag-Manage should use Roles

3 participants