feat: WIP rbac #75025
Annotations
10 errors and 1 warning
Check static typing:
posthog/rbac/user_access_control.py#L81
Incompatible return value type (got "Manager[AccessControl]", expected "list[AccessControl]")
|
Check static typing:
posthog/rbac/user_access_control.py#L112
Incompatible return value type (got "bool", expected "AccessControl | None")
|
Check static typing:
posthog/rbac/user_access_control.py#L125
Return value expected
|
Check static typing:
posthog/rbac/user_access_control.py#L166
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#L172
Argument 1 to "extract_organization" has incompatible type "type[object]"; expected "Model"
|
Check static typing:
posthog/rbac/user_access_control.py#L199
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:
ee/api/rbac/access_control.py#L59
Missing positional argument "resource_id" in call to "check_access_level_for_object" of "UserAccessControl"
|
Check static typing:
ee/api/rbac/access_control.py#L131
Argument 1 to "access_control_for_object" of "UserAccessControl" has incompatible type "str"; expected "Literal['action', 'activity_log', 'annotation', 'batch_export', 'cohort', 'dashboard', 'dashboard_template', 'early_access_feature', 'event_definition', 'experiment', 'export', 'feature_flag', 'group', 'insight', 'query', 'notebook', 'organization', 'organization_member', 'person', 'plugin', 'project', 'property_definition', 'session_recording', 'session_recording_playlist', 'sharing_configuration', 'subscription', 'survey', 'user', 'webhook']"
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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