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

Strallia: 🔥 some tasks not showing on dashboard #1178

Merged

Conversation

strallia
Copy link
Contributor

Description

This PR fixes an issue where tasks created by non-owners were not appearing on the assignee's dashboard. The issue stemmed from recent changes to permissions, which this PR reverts to restore the expected behavior.

Main changes explained:

  • Revert file projectController.js so that users who have permissions to post, edit, or suggest tasks can view user id's

How to test:

  1. check into current branch
  2. do npm install and npm run dev to run this PR locally
  3. run the frontend locally off the development branch using npm start
  4. login as owner user
  5. update your volunteer account to have permission to post tasks: Other Links -> Permissions Management -> Manage User Permissions -> enter the name of your test volunteer account and select your name -> give the user permission to Add Task
  6. logout then login to your volunteer account
  7. create a task and assign it to yourself: Other Links -> Projects -> select a WBS on any project -> Add Task -> give the task a name and add your volunteer account as a Resource
  8. verify that the task shows up under the tasks list on your dashboard
  9. test your volunteer account with the other permissions (edit or suggest tasks) and verify the tasks are updated with the correct information

Copy link
Member

@one-community one-community left a comment

Choose a reason for hiding this comment

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

Hotfix

@one-community one-community merged commit 758732a into development Dec 14, 2024
3 checks passed
@one-community one-community changed the title Strallia: fix some tasks not showing on dashboard Strallia: 🔥 some tasks not showing on dashboard Dec 14, 2024
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