Skip to content

"Tasks can only be created by moderator/admin" complete#34

Merged
mpmorgan94 merged 7 commits intomainfrom
Wesley_Branch
Apr 8, 2021
Merged

"Tasks can only be created by moderator/admin" complete#34
mpmorgan94 merged 7 commits intomainfrom
Wesley_Branch

Conversation

@WesleyPBergeron
Copy link
Copy Markdown
Contributor

New Changes:

  • Edited Button GUI to only show up for Admin/Moderator roles on the tasks page.
  • /edit & /new pages redirect if you aren't a moderator or admin on the tasks view.
  • No edit button will show up on the users page if you dont have the correct credentials to edit (either moderator/admin/current_user = @user.id)
  • Adjusted Users show page to fix grammatical issues and add more info inclusing the discord username.

Copy link
Copy Markdown
Contributor

@mpmorgan94 mpmorgan94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the code and could not find any issues.
All deletions and additions were individually inspected and no bugs found.
👍

@mpmorgan94 mpmorgan94 merged commit 3c973e9 into main Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants