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

Move the organizations section out of the admin #580

Closed
marien-probesys opened this issue Feb 19, 2024 · 0 comments
Closed

Move the organizations section out of the admin #580

marien-probesys opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
ready ✅ You can work on this! type: improvements Things could be nicer

Comments

@marien-probesys
Copy link
Member

marien-probesys commented Feb 19, 2024

Problem

Organizations are very important in Bileto, especially since they allow operational users to list tickets, contracts, and, soon, users as well (see #579). The problem is that they are available only via the homepage and the administration.

Solution

Add a new tab in the main menu to navigate to the list of organizations.

Specifications

  • Add a tab "Organizations" in the main navigation menu
  • Remove the tab from the administration
  • List only the organizations accessible to the user
  • Create a new permission orga:manage for "edit" and "delete" actions
  • Change the permission admin:manage:organizations to admin:create:organizations
  • Allow to click on an organization to navigate to its page
  • Move the "edit/delete" actions to an organization "settings" page
  • (technical debt) Migrate the organization form to a Symfony Form component
  • Transform the organizations list with cards
  • Remove the "organizations" section from the home page

Control

  1. login with a user with the permission to create organizations (admin) and an operational role with all permissions, associated to a specific organization (i.e. they should not have access to all the organizations)
  2. on the home page, check that the organizations no longer appear
  3. check that you see a new tab in the navigation menu named "Organizations" and click on it
  4. check that you see only the organizations you have access to, and that they appear as cards
  5. check that you're allowed to create a new organization
  6. check that you can open an organization to access its tickets and contracts
  7. check that you can manage the organization in the new "settings" page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ✅ You can work on this! type: improvements Things could be nicer
Projects
None yet
Development

No branches or pull requests

1 participant