parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Manage CLPs with Dashboard

Open dcdspace opened this issue 10 years ago • 13 comments

Will it eventually be possible to manage Class Level Permissions in the new dashboard like we were able to previously on the hosted dashboard? This would be a very useful feature. Also great job on this, looks great!

dcdspace avatar Mar 06 '16 05:03 dcdspace

+1

greggmojica avatar Mar 06 '16 14:03 greggmojica

@dcdspace we are missing some endpoints that we had in Parse.com to support CLPs. If you or anyone is interesting in creating a PR we'll gladly point you guys in the right direction.

peterdotjs avatar Mar 06 '16 15:03 peterdotjs

@peterdotjs yes please that would be appreciated. Is it as simple as interacting with the SCHEMA collection in the database or is there more to it?

dcdspace avatar Mar 06 '16 20:03 dcdspace

@peterdotjs can you put a GIST with the spec for that API?

flovilmart avatar Mar 06 '16 20:03 flovilmart

@flovilmart @dcdspace actually the original CLPs endpoint went through parse.com/apps instead of api.parse.com so there is no spec. We'll need to come up with a new API for this one. I think it would be nice to put it into the Schemas API, but I'd be glad to hear other ideas :). If schemas API is what we want to go with, the files you will need to modify to create the endpoint are in Parse Server: Schema.js and SchemasRouter.js, with tests in Schemas.spec.js and schemas.spec.js. Actually retrieving the data to put in the endpoint is as simple as looking at the _SCHEMA collection.

You will also need to update the Parse Dashboard to understand this new format in the permissions dialog. Since Parse Server doesn't understand pointer permission yet, you'll also need to disable Pointer Permissions with a flag in the editor.

This is not a small job! I'd be quite happy to work closely with you on this if you are excited about contributing :)

drew-gross avatar Mar 06 '16 20:03 drew-gross

+1

jcguarinpenaranda avatar Mar 13 '16 01:03 jcguarinpenaranda

The API is merged and mounted on the schema endpoint

flovilmart avatar Mar 13 '16 01:03 flovilmart

+1

dave4506 avatar Mar 17 '16 16:03 dave4506

+1

DoneStuffGetting avatar Mar 21 '16 08:03 DoneStuffGetting

+1

davimacedo avatar Mar 21 '16 11:03 davimacedo

Now that Parse Server has the necessary endpoints, I'm working on getting this set up in Parse Dashboard.

drew-gross avatar Mar 21 '16 19:03 drew-gross

Is this implemented already? How to use it? Thanks.

zh-wowtv avatar Dec 13 '16 05:12 zh-wowtv

Hi, from #175 it sounds like that there should be a CLP editor in the Dashboard. But I cant find it anywhere. I would greatly appreciate it if someone could tell me how it should work. Thx

jherrmann avatar Dec 26 '16 09:12 jherrmann