feat: WIP rbac #75002
Annotations
10 errors and 1 warning
Check static typing:
posthog/rbac/user_access_control.py#L83
Incompatible return value type (got "Manager[AccessControl]", expected "list[AccessControl]")
|
Check static typing:
posthog/rbac/user_access_control.py#L114
Return value expected
|
Check static typing:
posthog/rbac/user_access_control.py#L165
Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
|
Check static typing:
posthog/rbac/user_access_control.py#L171
Argument 1 to "extract_organization" has incompatible type "type[object]"; expected "Model"
|
Check static typing:
posthog/rbac/user_access_control.py#L198
Missing return statement
|
Check static typing:
posthog/api/routing.py#L248
Item "None" of "str | None" has no attribute "startswith"
|
Check static typing:
posthog/api/routing.py#L257
Argument "user" to "UserAccessControl" has incompatible type "User | AnonymousUser"; expected "User"
|
Check static typing:
posthog/rbac/test/test_user_access_control.py#L55
Argument 2 to "access_control_for_object" of "UserAccessControl" has incompatible type "int"; expected "str"
|
Check static typing:
posthog/rbac/test/test_user_access_control.py#L56
Argument 2 to "check_access_level_for_object" of "UserAccessControl" has incompatible type "int"; expected "str"
|
Check static typing:
posthog/rbac/test/test_user_access_control.py#L57
Argument 2 to "access_control_for_object" of "UserAccessControl" has incompatible type "int"; expected "str"
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: n1hility/cancel-previous-runs@v3, actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading