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

USER STORY: Admin and Office can view full orch rotas #156

Closed
6 tasks done
mikerae opened this issue Sep 23, 2023 · 2 comments · Fixed by #173
Closed
6 tasks done

USER STORY: Admin and Office can view full orch rotas #156

mikerae opened this issue Sep 23, 2023 · 2 comments · Fixed by #173
Assignees
Labels
Must Have Guaranteed to be delivered Office

Comments

@mikerae
Copy link
Owner

mikerae commented Sep 23, 2023

As Admin or Office I can view rotas for each section for each project so that I can know which players are allocated to each project.
ref: #28 #159

Acceptance Criteria

  • Office Manager can view published rotas for each section of a particular project
  • Draft rotas display draft rota status and no detail for Office Managers
  • Admin can view and edit all rotas for each section of a particular project (is member of Rota Manager Group).
  • Draft rotas display draft rota status and no detail for Admin

Tasks

  • Assign Admin to groups: Office, Rota Manager
  • Assign Orch manager to group: Office
  • For staff: All sections viewable for each project, via Programs dropdown menu in sidebar
  • Orch Manager cannot access admin
  • Section dropdown only available for Office
  • Rotas are editable by admin but not by Orchestra Manager
@mikerae mikerae added Must Have Guaranteed to be delivered Office labels Sep 23, 2023
@mikerae mikerae added this to the Project 4 Resubmission No. 2 milestone Sep 23, 2023
@mikerae mikerae self-assigned this Sep 23, 2023
@mikerae mikerae moved this to 🔖 Ready in String Rota Sep 23, 2023
@mikerae mikerae changed the title USER STORY: Admin and Ofiice can view full orch rotas USER STORY: Admin and Office can view full orch rotas Sep 23, 2023
@mikerae mikerae moved this from 🔖 Ready to 🏗 In progress in String Rota Oct 7, 2023
mikerae added a commit that referenced this issue Oct 8, 2023
- If user is staff (Office or admin): access programs dropdown with
    links disabled
- If user is superuser: access admin. Else no access to admin.
	modified:   templates/base.html
mikerae added a commit that referenced this issue Oct 8, 2023
Update welcome screen for office users
    modified:   string_rota/templates/string_rota/home.html

Add testing for Update Sidebar and Update to readme
	modified:   README.md
	new file:   readme_assets/images/testing-issue156-1.png
@mikerae
Copy link
Owner Author

mikerae commented Oct 8, 2023

For the first version, all sections are displayed for each project.
If time allows,a javascript will show all sections for the selected project.

mikerae added a commit that referenced this issue Oct 8, 2023
Add Sections to context in home class
	modified:   string_rota/views.py

Add sections to sidebar for each project
	modified:   templates/base.html

Add testing to readme
	modified:   README.md
	new file:   readme_assets/images/testing-issue156-2.png
@mikerae
Copy link
Owner Author

mikerae commented Oct 8, 2023

At the moment the following issues need to be addressed:

mikerae added a commit that referenced this issue Oct 8, 2023
Add sidebar Links logic dependant on Group Office/Rota Manager
	modified:   templates/base.html

Update logic in Rota View to receive a section argument as **kwargs
	modified:   string_rota/views.py

Update path for toggle published/draft
Add url for Rota_admin
	modified:   string_rota/urls.py

Add testing for 'Add View Rotas for Admin/Orch Manager' to README
- NB. basic functionality works, but CRUD links do not work in this
    commit. The resolution of the CRUD server errors is the same as for
    Rota class view ie pass in the Section as **kwargs and isolate
    calls to request.user - player and section
	modified:   README.md
	new file:   readme_assets/images/testing-issue156-3.png
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in String Rota Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Must Have Guaranteed to be delivered Office
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant