Skip to content

Clients aren't allowed to perform the find operation on the installation collection. (Code: 119, Version: 1.12.0) #1718

Closed
@drorsun

Description

@drorsun

Hi,
I am opening this issue as a similar one (issue #1671) was closed without providing a solution.
We are running with latest parse server 2.2.7 and iOS SDK 1.12.0.
We are getting this error on the find operation:

Clients aren't allowed to perform the find operation on the installation collection. (Code: 119, Version: 1.12.0)

The code under enforeRoleSecurity method at node_modules/parse-server/lib/rest.js is:

function enforceRoleSecurity(method, className, auth) {
    if (className === '_Installation' && !auth.isMaster) {
        if (method === 'delete' || method === 'find') {
            var error = 'Clients aren\'t allowed to perform the ' + method + ' operation on the installation collection.';
            throw new Parse.Error(Parse.Error.OPERATION_FORBIDDEN, error);
        } 
    }
}

@brianyyz Had the same issue. If Solved for you I will be glad to learn how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions