Skip to content

nicopere/TrocAsio

Repository files navigation

TrocAsio

A Symfony website allowing us to manage a high school stock of graphic calculators.

accueil Trocasio formulaire Trocasio

You can view an instance of TrocAsio there.

License

TrocAsio is provided under the GPLv3.

Installation

Apart from standard Symphony procedure (e.g. this step-by-step guide or that one), there is a trick with the installation of TrocAsio:

one needs to temporarily comment out the #[IsGranted('ROLE_ADMIN')] annotation in order to create the first (and probably unique) super user.

User interface

  • Roles:

    • ROLE_USER allows adding and editing (i) calculators, (ii) accouting entries and (iii) maintenance operations;
    • ROLE_ADMIN is there to create and edit other users;
    • an authenticated user without a role cannot do more than an anonymous visitor.
  • No deletion form: the database calculator id is stamped on the physical one and should not be used again; thus one needs to set the calculator status Removed, if need be.

Caveats

  • The site is not translated yet (French only).
  • When navigating back to the front page, reloading it (Ctrl-R) is currently necessary to recover the menu highlight feature when scrolling down.

About

Powered by Symfony

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published