Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Only allow permission modification by the owner of a unit #94

@pLeminoq

Description

@pLeminoq

Currently write permissions are needed to change/register/remove a unit config. This is problematic because having write permissions effectively grants every other permission by just changing the unit config. Therefore components like the cloud connector, that need write permissions to register new units,
would also posses every other permission.
The solution is, as in unix, to only allow permission modifications by the owner of the unit. If no owner is defined the owner of the location of the unit should be taken.

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