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

(Add) New torrent moderator group #4351

Merged
merged 8 commits into from
Nov 27, 2024
Merged

(Add) New torrent moderator group #4351

merged 8 commits into from
Nov 27, 2024

Conversation

HDVinnie
Copy link
Collaborator

  • this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions

- this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions
Copy link

what-the-diff bot commented Nov 26, 2024

PR Summary

  • Adjusted Staff Filtering
    Updated how PageController.php filters staff, now using is_torrent_modo.
  • Enhanced Access Restriction
    Added authorization checks to ModerationController.php based on is_torrent_modo.
  • Introduced New is_torrent_modo Field
    New boolean field added to the database, affecting the groups table.
  • Validations Updated
    Updated rules in StoreGroupRequest.php and UpdateGroupRequest.php to require new field.
  • Improved Documentation
    Better type hinting for Torrent collections across Livewire components.
  • Database info default values
    A migration to populate is_torrent_modo in groups with default values.
  • Schema Update
    Updated mysql-schema.sql to reflect the new column.
  • Group Positions Adjusted
    Altered positions for existing groups to include new values.
  • Added Torrent Moderator Group
    New group with unique permissions and settings introduced.
  • UI Enhancements
    New checkbox for "Torrent Modo" in group creation and editing UI.
  • Group Index Update
    Added new "Torrent Modo" column with status checks.
  • Top Navigation Updated
    Changed checks in top_nav.blade.php to now use is_torrent_modo.
  • Updated View Conditions
    Revised tools.blade.php to utilize is_torrent_modo for displaying options.
  • New Route for Moderation
    Devised a new route group in web.php for torrent moderation.

@HDVinnie HDVinnie merged commit a56c0cf into 8.x.x Nov 27, 2024
10 checks passed
@HDVinnie HDVinnie deleted the Torrent-Moderator branch November 27, 2024 01:17
@HDVinnie HDVinnie linked an issue Nov 27, 2024 that may be closed by this pull request
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.

[Request] Torrent Checker Role
1 participant