Skip to content

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

Closed

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();

Activity

  1. dcdspace commented on Jun 5, 2016

    @dcdspace

    Did you ever solve this?

  2. drew-gross commented on Jun 6, 2016

    @drew-gross
    Contributor

    This should be fixed by #1989

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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