Skip to content

update existing Object with write permission on Role not working #1800

Closed
@steven274

Description

@steven274

I have Admin Role with root user.
My object have public read permission and Admin role read write permission.

{
    "_id": "WDqygIJ28J",
    "_rperm": [
        "*"
    ],
    "_wperm": [
        "role:Admin"
    ],
    "_updated_at": {
        "$date": "2016-05-16T04:38:42.064Z"
    },
    "_created_at": {
        "$date": "2016-05-16T04:32:56.967Z"
    }
}

when I logged in root user, modify the object field and save, it says 'Permission denied for this action'

obj.set(request.params.name, request.params.value);
obj.save();

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