Skip to content

Object/Schema Role Permission #4839

Closed
Closed

Description

@noyessie

How should i modify schema role permission.

In parse server doc, i found this:

// PUT http://localhost:1337/schemas/:className
// Set the X-Parse-Application-Id and X-Parse-Master-Key header
// body:
{
  classLevelPermissions:
  {
    "find": {
      "requiresAuthentication": true,
      "role:admin": true
    },
    "get": {
      "requiresAuthentication": true,
      "role:admin": true
    },
    "create": { "role:admin": true },
    "update": { "role:admin": true },
    "delete": { "role:admin": true },
  }
})

But what does it means. is not possible to change it without API REST request ?

Activity

  1. flovilmart commented on Jun 15, 2018

    @flovilmart
    Contributor

    I is possible, just put the new value for the full classLevelPermissions.

  2. flovilmart commented on Jun 15, 2018

    @flovilmart
    Contributor

    Thanks for your question!

    We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Parse Server.

    Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #parse.com? We'll be happy to answer there. Post a link to your Stack Overflow question here, so that we don't lose track of it.

    You may also use Server Fault for questions about managing your own servers.

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