DNNCommunity / DNNCommunity/Dnn.CommunityForums

ENH: Add "Creator of a thread" as a "virtual role"

Open
#861 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
18
Forks
23
Avg merge
19h 28m
Merged PRs (30d)
20

Description

In some case it can be useful to have a forum where user can create a topic but is only able to see it's own topics.

## Describe the solution you'd like
Add a virtual role "Topic Creator" to the permissions grid.
This way you can add a separate forum where a user can only see their own posts.

## Describe alternatives you've considered
Have a separate checkbox for this option, but it seems counter intuitive to me to have "view" rights in two diferent locations

## Additional context
![image](https://github.com/DNNCommunity/Dnn.CommunityForums/assets/8999382/a044a726-12b2-4827-96cb-d61fd5a4ed34)

Contributor guide

Open the contributing guide

Research direction

Start by locating the permissions grid and the existing virtual-role handling in the DNN Community Forums codebase. Trace how forum visibility and topic ownership are evaluated, then determine where a "Topic Creator" role would fit. Done means the new virtual role appears in the permissions grid and allows users to see only topics they created.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.