8000 [DAB RBAC] Throw an error is a proxy model is registered · Issue #553 · ansible/django-ansible-base · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@AlanCoding

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app:rbacgalaxyrelated to galaxy_ng integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0