feat(cms): add partners collection - #54
Open
sbcxty wants to merge 2 commits into
Open
Conversation
3 tasks
Member
ASPactores
requested changes
Aug 16, 2026
| }, | ||
| maxPerDoc: 50, | ||
| }, | ||
| fields: [ |
Contributor
There was a problem hiding this comment.
Kindly include a new field to store partner description. It should be an optional text.
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


📝 Overview
What does this PR do? Briefly describe the changes and the goal of this PR.
Adds a new
Partnerscollection to Payload CMS for the DurianPy website, per ticket #19. Includes schema (name, logo, websiteUrl), draft/versioning support with scheduled publish, role-based access control viacheckCollectionAccess, and URL-format validation onwebsiteUrl.🚀 Type of Change
🧱 CMS & Database Changes
Skip this section if no CMS or database changes were made.
payload migrate:createand saved the file.📊 Data Structure
Describe the new fields/tables or drag-and-drop a screenshot here:
fields:
🧪 Testing & Validation
📸 Visual Evidence (Mandatory)
Important
Visual proof is required to demonstrate that the approved test cases from the issue were successfully met.
Please provide screenshots, screen recordings (GIFs/Videos), or sample API outputs proving that the feature satisfies all approved test cases and do not introduce regressions.
Schema and UI Verification
Validation and Versioning
Access Control Verification
REST API Verification
GraphQL Verification
mainand resolved conflicts.🧠 Extra Notes / Questions
Add any additional context or questions for the reviewers here.
I didn’t strictly follow the
read: anyonepattern because I noticed that it also allows unauthenticated users to read drafts. I used a helper function to modify the logic so only authenticated users can read everything. I used the same helper function for both Events and Partners collections. Would it make sense to make it a shared helper function, similar toanyone.ts, so it can be reused?