Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
steven274 opened this issue May 16, 2016 · 2 comments
Closed

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

steven274 opened this issue May 16, 2016 · 2 comments

Comments

@steven274
Copy link

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();
@dcdspace
Copy link

dcdspace commented Jun 5, 2016

Did you ever solve this?

@drew-gross
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants