Skip to content

set_project_access() logic #110

@chris9404

Description

@chris9404

Hi,

Some comments regarding the set_project_access logic:

  1. Giving write_access to a list of users does not include read_access. So if I only give write_access to users (as I did, and thought I broke something) the users appear on the Mergin project as having access, but they can't see their projects on Input. On the Mergin site you choose either reader/writer/owner and I thought the same logic would be valid for this function, i.e. choose one; the owner includes writer and reader, and writer includes reader.
  2. Once I, the Owner of the project, give a list of users permission, I lose my own Read and Write permissions, although I stay the Owner. This is a much less significant comment, as the error that appears when running the work-package creation script is quite clear and I realized what the problem was, but if it's a relatively simple change then I would appreciate it.

Both issues have relatively simple fixes user side, but implementing fixes could help avoid problems for future users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions