Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree | Nova camada: Rules #54

Open
Eryoneta opened this issue Jun 27, 2022 · 0 comments
Open

Tree | Nova camada: Rules #54

Eryoneta opened this issue Jun 27, 2022 · 0 comments
Assignees
Labels
complicated Will be hard to resolve enhancement New feature or request

Comments

@Eryoneta
Copy link
Owner

  • Para cada entidade, adicionar mais uma camada: Rules. Este fica responsável por verificar e se assegurar que uma série de regras sejam seguidas durante a alteração de uma entidade.
  • Exemplo: ModuloRL.
    • Modulo teria uma instância de ModuloRL.
    • Um delete(mod) chamaria rules.canDelete(mod) e esse diz se ele pode ou não.
@Eryoneta Eryoneta added enhancement New feature or request complicated Will be hard to resolve labels Jun 27, 2022
@Eryoneta Eryoneta self-assigned this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complicated Will be hard to resolve enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant