dry-python / dry-python/dry-python.github.io

Permission system done right.

オープン
#381 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
blog
主要言語
HTML
スター
10
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

Permission is an ideal example of the context contract additional rules and composition.

We have a nested story with a more strict permission rule than the wrapper story.

`user` has its place in each context contract and we attach different permission validation to it in each contract.

When the `user` will be assigned in the wrapper story, we'll run all its permission validators from all nested stories. So we'll fail early.

Some nested stories will run in the `Celery` task because of the `Delegate` feature. We can fail **that** early.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。