Giter Site home page Giter Site logo

dive-into-post's People

Contributors

gijutu avatar kazoo0330 avatar ra0830 avatar shibatadaiki avatar shounen070505 avatar thaqoo avatar tominagashuji avatar

dive-into-post's Issues

チームリーダーの変更機能を追加する

  • そのTeamのリーダー(オーナー)が、Teamのshowページを開くと、各チームメンバーの「削除」ボタンの右隣に「権限移動」のボタンが出現する
    そのボタンを押すと、そのTeamのオーナーが選択したUserに変更される
    アクションはTeamコントローラに任意のものを追加する

  • Teamのオーナーが変更されたら、新しくオーナーになったユーザーに通知メールが飛ぶ

  • 情報処理が完了した後はそのTeamのshowに飛ぶ(つまり同じ場所にredirectする)

アジェンダの削除機能を実装すること(紐づいている記事も削除し、そのアジェンダのチームに属しているメンバー全員に通知メールを送信すること)

現状サイドバーに表示される各アジェンダを削除する機能がないので、その機能を追加してほしい。

以下の要件で作成されることを想定している

  • AgendasControllerのdestroyアクションを追加し、そこに機能追加する

  • Agendaの名前の右の部分に削除ボタンを作成し、そのボタンを押すとそのAgendaが削除される

  • Agendaに紐づいているarticleも一緒に削除される

  • Agendaを削除できるのは、そのAgendaの作者もしくはそのAgendaに紐づいているTeamの作者(オーナー)のみ

  • Agendaが削除されると、そのAgendaに紐づいているTeamに所属しているユーザー全員に通知メールが飛ぶ

  • 情報処理が完了した後はDashBoardに飛ぶ

その他、アプリケーションの挙動に不審な点やエラーがないこと

チーム情報の操作に関しての機能を整えること

現状では、

そのTeamに所属しているUserの削除(離脱)が、どのUserでもできる
TeamのeditをTeamのリーダー(オーナー)以外でも自由にできる
という仕様になっているが、これを、

  • Teamに所属しているUserの削除(離脱)は、そのTeamのオーナーか、そのUser自身しかできないようにすること

  • TeamのeditはTeamのリーダー(オーナー)のみができるようにすること

という仕様に変更すること

また、その他、アプリケーションの挙動に不審な点やエラーがないこと。

その他、質問や確認事項などがあれば別途課題投稿欄のコメントで質問すること

今回テストは不要

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.