Skip to content

Self-created collections on DEV are lacking write permission #1271

@leplatrem

Description

@leplatrem
http https://remote-settings-dev.allizom.org/v1/buckets/main-workspace/collections/s2s-languages --auth admin:$ADMIN_DEV
HTTP/1.1 200 OK
{
    "data": {
        ...
    },
    "permissions": {}
}

When logged in as admin on UI, the write permission can be checked but save has no effect.

It worked by adding write perm via REST API

$ echo '{"permissions": {"write": ["/buckets/main-workspace/groups/s2s-languages-editors", "/buckets/main-workspace/groups/s2s-languages-reviewers"]}}' | http PATCH https://remote-settings-dev.allizom.org/v1/buckets/main-workspace/collections/s2s-languages --auth admin:$ADMIN_DEV
HTTP/1.1 200 OK
{
    "data": {
        ...
    },
    "permissions": {
        "write": [
            "/buckets/main-workspace/groups/s2s-languages-editors",
            "/buckets/main-workspace/groups/s2s-languages-reviewers"
        ]
    }
}

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions