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

Permission system done right.

Aberta
#381 0 comentários 0 reações 0 responsáveis Ver no GitHub
blog
Linguagem predominante
HTML
Estrelas
10
Forks
5
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.