Skip to content

Conversation

@Thatsmusic99
Copy link
Member

Fixes #507 and #506

Haven't been able to properly test, will need doing prior to merging - can always be spun up on the test server but I don't have the necessary configuration for it (and i use vim btw)

@Thatsmusic99
Copy link
Member Author

All these failed tests do not look good for the software engineering job I'll be starting in 3 months where my primary language will be Python

Thatsmusic99 and others added 3 commits May 24, 2025 15:10
Co-authored-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
Signed-off-by: Holly <25277367+Thatsmusic99@users.noreply.github.com>
Thatsmusic99 and others added 2 commits May 24, 2025 15:15
Co-authored-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
Signed-off-by: Holly <25277367+Thatsmusic99@users.noreply.github.com>
@MattyTheHacker MattyTheHacker enabled auto-merge (squash) May 24, 2025 15:34
@MattyTheHacker MattyTheHacker self-requested a review May 24, 2025 15:34
MattyTheHacker
MattyTheHacker previously approved these changes May 24, 2025
@MattyTheHacker MattyTheHacker added the sync Request bots to automatically keep this PR up to date with it's base branch label Jun 4, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR allows committee-elect users to update actions and appear in auto-complete while adjusting permission checks for updating and listing actions.

  • Added committee-elect role handling to the auto-complete command.
  • Removed committee role requirement from update_status and list_user_actions to allow non-committee users to update/view their own actions.
  • Updated action member retrieval and permission error responses in list_user_actions.
Comments suppressed due to low confidence (2)

cogs/committee_actions_tracking.py:134

  • Consider adding a brief comment explaining the purpose and usage of 'committee_elect_role' for auto-complete to assist future maintainers.
committee_elect_role: discord.Role | None = None

cogs/committee_actions_tracking.py:292

  • Ensure that tests are updated or added to verify that non-committee users can update their own actions after removing this committee role check.
@CommandChecks.check_interaction_user_has_committee_role

MattyTheHacker and others added 2 commits June 14, 2025 15:19
Co-authored-by: Matt Norton <matt@carrotmanmatt.com>
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
Co-authored-by: Matt Norton <matt@carrotmanmatt.com>
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
@MattyTheHacker MattyTheHacker merged commit 1a6ff75 into main Jun 15, 2025
10 checks passed
@MattyTheHacker MattyTheHacker deleted the allow-committee-elect-action-update branch June 15, 2025 12:49
MattyTheHacker added a commit that referenced this pull request Jun 15, 2025
Signed-off-by: Holly <25277367+Thatsmusic99@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request sync Request bots to automatically keep this PR up to date with it's base branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Committee-Elect should be able to update their action status Add committee-elect to action auto-complete

5 participants