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

[DAB RBAC] Throw an error is a proxy model is registered #553

Open
AlanCoding opened this issue Aug 5, 2024 · 0 comments
Open

[DAB RBAC] Throw an error is a proxy model is registered #553

AlanCoding opened this issue Aug 5, 2024 · 0 comments
Labels
app:rbac galaxy related to galaxy_ng integration

Comments

@AlanCoding
Copy link
Member

If someone does:

permission_registry.register(ProxyInventory)

(using test_app models, so all variables here are fully-defined)

This issues proposes that an error is thrown. This is because the resource_registry precedent is to use concrete models in its registry. Better to not allow proxy models in to begin with.

@AlanCoding AlanCoding added app:rbac galaxy related to galaxy_ng integration labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:rbac galaxy related to galaxy_ng integration
Projects
None yet
Development

No branches or pull requests

1 participant