feat: WIP rbac #643
Annotations
10 errors and 1 warning
Check static typing:
posthog/rbac/user_access_control.py#L44
Incompatible return value type (got "str", expected "bool")
|
Check static typing:
posthog/rbac/user_access_control.py#L45
Incompatible return value type (got "str", expected "bool")
|
Check static typing:
posthog/rbac/user_access_control.py#L70
Incompatible return value type (got "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'] | None")
|
Check static typing:
posthog/rbac/user_access_control.py#L82
Incompatible types in assignment (expression has type "Organization | ForeignKey[Any, Any] | Any", variable has type "Organization")
|
Check static typing:
posthog/rbac/user_access_control.py#L82
Item "None" of "Team | None" has no attribute "organization"
|
Check static typing:
posthog/rbac/user_access_control.py#L109
"Model" has no attribute "id"
|
Check static typing:
posthog/rbac/user_access_control.py#L116
Incompatible return value type (got "Manager[AccessControl]", expected "list[AccessControl]")
|
Check static typing:
posthog/rbac/user_access_control.py#L141
Incompatible return value type (got "Manager[AccessControl]", expected "list[AccessControl]")
|
Check static typing:
posthog/rbac/user_access_control.py#L179
Incompatible return value type (got "bool", expected "str | None")
|
Check static typing:
posthog/rbac/user_access_control.py#L179
Argument 1 to "default_access_level" 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: 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