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

Feature Request: Access Control for Viewing Articles #1264

Open
riirxx opened this issue Feb 25, 2025 · 1 comment
Open

Feature Request: Access Control for Viewing Articles #1264

riirxx opened this issue Feb 25, 2025 · 1 comment
Labels
new-feature New feature request

Comments

@riirxx
Copy link

riirxx commented Feb 25, 2025

Is your feature request related to a problem? Please describe

Currently, all users can browse all articles without any access restrictions. However, in some cases, we need to limit access so that only specific user groups can view certain articles.

Describe the solution you'd like

I would like to request a permission-based access control system for browsing articles. Specifically:

Each article should have an associated access group.
Only users belonging to the assigned group should be able to view the article.
Unauthorized users should receive a "Permission Denied" message or be redirected to a different page.

Describe alternatives you've considered

A few potential solutions could be:

Role-based access control (RBAC): Define roles (e.g., admin, editor, viewer) and associate them with article access.
Group-based permissions: Users can belong to different groups, and articles can be restricted to specific groups.
Tag-based restrictions: Articles could be tagged with access control levels (e.g., "internal only", "public").

Additional context

This feature would enhance security and provide more control over sensitive or internal articles.
It would be helpful if there were an admin panel where permissions could be managed easily.

@riirxx riirxx added the new-feature New feature request label Feb 25, 2025
@HayHiTee
Copy link

Yeah I totally agree with you. I think Group-based permissions is the best to go as you can group contents and users. You can also have sub-permission in group-based permission using role-based access control ((e.g., admin, editor, viewer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants