Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix file permissions #6775

Closed as not planned
Closed as not planned
@Emyrk

Description

@Emyrk

Currently file permissions are user scoped. So a user can read all files they personally upload.

This model is flawed, as it prevents other users from reading the file, even if they might need to. For example to edit a template.

Proposal

We should associate a file's permissions to atemplate_version which has proper RBAC.

To do this, all files must be associated with 1 and only 1 template version. This is because a file with multiple versions becomes a bit more ambiguous as to what to do if a user can only read 1 of the versions.

This also means you are unable to upload a file without a template version (very chicken and the egg). Or we allow uploading a file, and the file can only be read by the owner, until it is associated with a template_version. Much like template_versions without a template have their own RBAC.

This means orphaned files can only be read by their owner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp