Coder Social home page Coder Social logo

abhas-dev / p8-todo-co Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.75 MB

Améliorez une application existante de ToDo & Co - Projet du parcours Développeur PHP/Symfony

PHP 5.89% Twig 1.10% CSS 22.33% Dockerfile 0.21% Shell 0.07% HTML 70.24% JavaScript 0.16%

p8-todo-co's People

Contributors

abhas-dev avatar restyled-commits avatar

Stargazers

 avatar

Watchers

 avatar

p8-todo-co's Issues

Choose a role for a user at creation time

When creating a user, it must be possible to choose a role for him. The roles listed are the following:

  • user role (ROLE_USER) ;
  • administrator role (ROLE_ADMIN).

When editing a user, it is also possible to change the role of a user.

A task must be attached to a user

Currently, when a task is created, it is not attached to a user. You are asked to make the necessary corrections so that when the task is saved, the authenticated user is automatically attached to the newly created task.

When editing the task, the author cannot be changed.

For tasks already created, they must be attached to an "anonymous" user.

Add permissions

  • Only users with the administrator role (ROLE_ADMIN) should be able to access the user management pages.
  • Tasks can only be deleted by the users who created the tasks in question.
  • Tasks attached to the "anonymous" user can only be deleted by users with the administrator role (ROLE_ADMIN).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.