pulibrary / tiger-data-app

TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
6 stars 0 forks source link

User should only see dashboard areas they are eligble for #817

Closed carolyncole closed 1 week ago

carolyncole commented 3 weeks ago

User story

As a tester trainer I want to be able to see the user dashboard exactly like a different user, so even if I have sponsored projects I do not want to see then as a Data Manager or Data User.

Only When a user has eligibility to be a data sponsor should the see the "Sponsored by Me" section. This section header should show even if they are not currently sponsoring any projects

Only When a user has eligibility to be a data manager should the see the "Manage by Me" section. This section header should show even if they are not currently Managing any projects

https://github.com/pulibrary/tiger-data-app/blob/main/app/views/welcome/index.html.erb#L11-L34

Acceptance criteria

Implementation notes, if any

Modifications are likely made this code