Document events feature and expanded permissions#181
Document events feature and expanded permissions#181benrobson wants to merge 5 commits intoclaude/events-calendar-module-A77RKfrom
Conversation
Updated README.md to include: - A new section for the Events Calendar feature, detailing its lifecycle and features. - Expanded permissions table with missing nodes for events, voting, punishments, and audits. - Detailed documentation for Support Ticket management, including participant logic and category-specific permissions. Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…anagement permission Updated README.md: - Added "Events Calendar" section detailing lifecycle and features. - Expanded "Permissions" table with missing nodes (events, voting, punishment, reports, Discord audit). - Updated "Support Tickets" section with participant management logic. Code changes in routes/support.js: - Implemented `zander.web.tickets.manageparticipants` permission node. - Users with this node can now view any ticket and manage (add/remove) users and groups. - This permission overrides standard 'Appeal' ticket restrictions for authorized staff/roles. Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
…ticipants node Updates README.md: - Added "Events Calendar" section detailing lifecycle and features. - Expanded "Permissions" table with missing nodes (events, voting, punishment, reports, Discord audit). - Updated "Support Tickets" section with participant management logic. Functional Changes: - Implemented `zander.web.tickets.manageparticipants` permission node in web routes and Discord commands. - Updated `getUserPermissions` in `userController.js` to support lookups via `discordId`, enabling permission checks in Discord. - Refactored `commands/support.mjs` to respect LuckPerms permissions for `add`, `remove`, `status`, `close`, and `manual` subcommands. - Users with `zander.web.tickets.manageparticipants` can now manage ticket participants on both the web and Discord, overriding standard restrictions. Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
…e: cleanup logging Documentation: - Added "Events Calendar" section to README.md describing lifecycle and features. - Expanded permissions table with missing administrative nodes. - Documented Support Ticket participant management logic. Functional Changes: - Implemented `zander.web.tickets.manageparticipants` permission node. - Updated `getUserPermissions` to support lookups via `discordId`, enabling permission enforcement in Discord. - Refactored `/ticket` Discord command to use LuckPerms authorization. - Users with the management node can now add/remove users and roles on any ticket across web and Discord. Cleanup: - Removed verbose `console.log` statements from `watchController.js` to reduce noise in cron logs. Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
…pant management; fix: discord interaction timeouts and permission resolution Documentation: - Added comprehensive documentation for the Events Calendar and Support Ticket systems in README.md. - Expanded the permissions reference table with missing administrative nodes. Functional Improvements: - Implemented the `zander.web.tickets.manageparticipants` permission node across web and Discord. - Updated `getUserPermissions` to support lookups via `discordId`, enabling permission enforcement in Discord slash commands. - Refactored Discord support commands to immediately defer interactions, preventing "Unknown interaction" errors during async operations. - Resolved deprecation warnings by migrating `ephemeral: true` to `flags: [MessageFlags.Ephemeral]`. Cleanup: - Removed verbose `console.log` statements from the watch feature to reduce cron log noise. Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
This submission updates the
README.mdto provide comprehensive documentation for the Events feature and several previously undocumented permission nodes. Key additions include:zander.web.events,zander.web.events.review,zander.web.voting,zander.web.punishment.manage,zander.web.reports, andzander.discord.lpaudit.zander.web.tickets.{slug}) and the logic governing who can add users or groups to a ticket (Owner, Staff, or Participant).These changes ensure that administrators have the necessary information to configure and manage the platform's core features effectively.
PR created automatically by Jules for task 5161869195136899586 started by @benrobson