How to delete the old Cloud Script Revisions? Is there any limit number for the Cloud Script Revision for each project?
How to delete the old Cloud Script Revisions? Is there any limit number for the Cloud Script Revision for each project?
Updating, as this question has come up again (apologies - when a new feature is added, it's not necessarily going to be possible to find all older instances of questions about it and update them - the Feature Requests forum is the best place to track on outstanding requests). This feature was added in late 2018:
https://community.playfab.com/idea/928/210862717-Removing-Cloud-Script-revision.html
Is the better mechanism mentioned here the GitHub integration? Is there a better mechanism for us that don't use GitHub?
Yes, we updated to allow you to manage your revisions via GitHub, so that whenever you update your repository there, it automatically updates the title with a new revision. This doesn't allow for deletion of revisions, but it does simplify script management and provide you the ability to have your logic across multiple files (we concatenate them for the revision).
Doh. I guess I'll then just have to live with the dozens of obsolete revisions of the Cloud Script.
What if one of old revisions have a buggy function, that, for example, just adds some amount of virtual currency to player? How can I prevent the client from calling this function from old revision?
That's an excellent point, and I'm surprised it hasn't been asked before. I'll add a backlog item for a Cloud Script policy setting, so that you can block calls to older revisions if needed.
Could it be a kind of 'minimum allowed' revision? That would be easy to set and probably solve the vast majority of cases. For instance if revision 2000 is in error, then I would set 'minimum allowed' revision to 2001.
That's certainly one possible approach - the backlog item really just states that we need to provide a mechanism to allow for this, but we'll be discussing it when we assign someone that task, so I'll certainly bring this up then.
Any news? It's been almost 2 years, and this security issue is still not resolved
Updated the response, as we added the delete option to the Game Manager interface a few months ago.
Hello,
Just to make sure I am not confused, it's called "Remove Revision" and not "Delete" right? Also, if I remove revision and create a new one, it creates a numbered revision above the last one that was created then deleted. eg. Removed "Revision 4", added a new revision but it's called "Revision 5" and not "Revision 4". Is it supposed to do this?
Thanks,
jrDev
8 People are following this question.