Giter VIP home page Giter VIP logo

Comments (11)

dplewis avatar dplewis commented on June 3, 2024 1

Depends on the changes from 5.XX to 6.XX may have some breaking changes.

from parse-sdk-js.

parse-github-assistant avatar parse-github-assistant commented on June 3, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

from parse-sdk-js.

dplewis avatar dplewis commented on June 3, 2024

Have you checked your class level permission in the dashboard?

from parse-sdk-js.

andresteves avatar andresteves commented on June 3, 2024

Class level permission is public read / write.

from parse-sdk-js.

dplewis avatar dplewis commented on June 3, 2024

In your Parse Server Configuration do you have allowClientClassCreation turned off?

from parse-sdk-js.

andresteves avatar andresteves commented on June 3, 2024

@dplewis Yes I have it off.

from parse-sdk-js.

dplewis avatar dplewis commented on June 3, 2024

Turning it on should fix your issue. See here

from parse-sdk-js.

andresteves avatar andresteves commented on June 3, 2024

@dplewis but I want to read only from app side. Would that not enable classes to be editable and even created on client side?

from parse-sdk-js.

dplewis avatar dplewis commented on June 3, 2024

Can you update to the latest version of Parse Server?

from parse-sdk-js.

andre-sonect avatar andre-sonect commented on June 3, 2024

@dplewis I know this might be a dumb question but is there any problem on updating the version directly (meaning do I need to do a backup or anything) ?

from parse-sdk-js.

andre-sonect avatar andre-sonect commented on June 3, 2024

@dplewis does parse-server sleeps for some reason because I am trying the same now on a backoffice and it does login fine but then when trying to fetch a pointer inside _User class, it returns undefined.

try {
		await Parse.User.logOut();
		var usr = await Parse.User.logIn(req.body.email, req.body.password);
		usr = Parse.User.current();
		var query = new Parse.Query('Client');
		var client = await query.get(usr.get('clientId').id);     <-------- get('client').id returns undefined ----
		var flags = client.get('flags');
		
		if (flags.includes('****')) {
			res.redirect('/contents/welcome')
		}  else {
			res.redirect('/app/about')
		}
	} catch (error) {
		res.render('index', { error: 'Invalid username/password: ' + error })
	}

from parse-sdk-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.