-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Is there any way to edit Class Level Permissions Programatically? #5888
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
Comments
I think you can do this with the
|
this is exactly what I need... Thank you! |
@stevestencil This has been discussed adding to the JS SDK CLP needs an API. Would like to get started on this? |
I would be happy to add this... this would be my first time so I will need some guidance... I'd imagine i'll be adding it to the ParseSchema.js file? |
Yes. It should be added in the ParseSchema.js file of the JS SDK. |
Just a few notes:
|
You can actually add and remove fields of an existing class. But you can't change an existing field of an existing class. |
@davimacedo Very helpful as this is not explicitly stated in doc, thanks!
|
Um, just want to add that the docs are clear actually with an example of PUT command that I didn't catch earlier. ;-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing via parse-community/Parse-SDK-JS#960 |
With the latest version of parse we can now have a class level permission set for the "count" operation. This makes it so that all class level permissions have to be updated to support this operation, otherwise you'll get permission errors when calling "count". I know we can do this via the dashboard but if other devs are working in the same project they'll have to update the same permissions on their local instance, dev instances, staging instances, etc. Ideally I could update the class level permissions programmatically once parse starts so that any other devs working on the project won't have to worry.
Is there any way to edit the class level permissions through the API?
The text was updated successfully, but these errors were encountered: