Comments (2)
@Xazin taking a look at this now. Is there any documentation about what each model needs to do? I can try to make some educated guesses about what we'll need but it would probably be better to get more information first.
Based on the naming I'm going to guess this is the structure:
- Forum
-
- ForumPermissions
-
- Thread
-
-
- Post
-
-
-
-
- PostInfo
-
-
-
-
-
-
- UserInfo
-
-
-
-
-
-
- LastPostInfo
-
-
-
-
- Poll
-
I'm not sure what ThreadPrefixes
is or where ReportedPosts
should go. Can you clear some of this up for me and let me know if I'm on the right track?
from collaction_api.
In #documentation on Alack there should be some help with this, there is also a diagram with all the properties.
Relationships:
ONE FORUM TO MANY FORUMS
ONE FORUM TO MANY FORUM PERMISSIONS
ONE FORUM TO MANY THREADS
ONE THREAD TO MANY POSTS
ONE POLL TO ONE THREAD
MANY THREAD PREFIXES TO MANY FORUM
As I am on the phone, sorry if the below is not super clear.
A forum can contain many forums. A forum can be a category, that contains forums. However a forum that is not a category can still contain other forums, these would be sub-forums.
Some examples:
- General Board
- News
- Feedback
- Rejected
- Accepted
The above are all forums. And now if we want to look at why each forum can have many permissions, it is because they have a need to differentiate permissions per role (group of users).
Same example with permissions:
- General Board (No one can post or make threads in this "category")
- News (Only admins can make threads, but everyone can make posts. Polls as well, admins can create, all can vote)
- Feedback (Everyone can post threads and posts, everyone can create polls and vote)
- Rejected (No one can create threads and posts - Readonly "archive")
- Accepted (Same as rejected)
It's a bit of a shallow example, because permissions also define who can edit their own posts, and who can delete their own posts etc.
As for thread prefixes, they are only allowed in specific forums, and only specific groups can use them in those forums.
The above example again:
- General Board
- News [Announcement]
- Feedback & Suggestions [Suggestion] [Feedback] [Criticism]
- Rejected [Rejected] [Suggestion] [Feedback]
- Accepted [Accepted] [Suggestion] [Feedback]
Bit a bad example, but it should make the outline a bit clearer.
from collaction_api.
Related Issues (20)
- [Board] Add authed endpoint to create a Thread
- [Unit Tests] Increase Coverage for Crowdactions
- [Unit Tests] Add unit tests for SchedulerService
- [Unit Tests] Add unit tests for SendFormCommand
- [Unit Tests] Add unit tests for AuthService
- [Refactor] Commimentoptions and Crowdactions need to be updated
- Add Service for Contact HOT 3
- Show user at top of Participant List after participating in CrowdAction HOT 3
- Improvement in error response /v1/crowdactions/slug/{slug} and /v1/crowdactions/{id}
- Add support to filter Crowdactions by it's values and also don't return crowdactions that have ENDED
- Change Commitments Icon from enum to string HOT 1
- New fields for Badges HOT 2
- Make diamond threshold customizable on badges HOT 2
- Sort Crowdaction response based on date
- Create Endpoint to Fetch (paginated) Commitments
- [FEATURE] Add Phone Number to Profile
- [BUG] Requiring `_id` for Commitment when creating CrowdAction
- [Feature] Add Forum Controller HOT 2
- [Bug] Scheduler onTick breaks production HOT 2
- [Feature] Refactor/migrate S3 Module to Blob Storage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collaction_api.