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

Change authorization so that only people with correct permissions can view the toggle resolve button #28

Closed
Noor-5 opened this issue Oct 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Noor-5
Copy link
Contributor

Noor-5 commented Oct 6, 2023

Only the original poster of a topic and the admins/instructors should be able to toggle the resolve status of a post.

Medium effort: wrap the button in a conditional on the user role. Write any necessary functions to check user role. post_bar.tpl

Medium Impact: minimize user frustration in seeing a button they don't have the permission to click.

@Noor-5 Noor-5 self-assigned this Oct 6, 2023
@Noor-5 Noor-5 added this to the Sprint 2 milestone Oct 6, 2023
@Noor-5 Noor-5 added the enhancement New feature or request label Oct 6, 2023
@gonzalezjo
Copy link
Contributor

Resolved in #27

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

No branches or pull requests

2 participants