March 31, 2023, 5:47pm
Hello, I’m trying to write a plugin to speed up some of my routine scripting tasks.
One of the things I was trying to do was an ‘Auto Commit-All’ button, but I’m getting an error:
The current identity (5) cannot GetDrafts (lacking permission 5)
Is there any way for me to elevate the plugin’s permissions since I’ll be the only one writing/using it?
March 31, 2023, 5:53pm
What method is giving you that error?
March 31, 2023, 5:57pm
DraftsService | Roblox Creator Documentation is RobloxSecurity, you cannot access it.
Remember: if a method doesn’t have a description or has a higher security tag, you cannot access it.
March 31, 2023, 6:01pm
And there’s no way for me to elevate permissions to get around that?
Nope. The highest security you can access is LocalUserSecurity, and for an automatic process, PluginSecurity. Unfortunately, your ideea isn’t possible at this moment.
April 1, 2023, 11:27pm
So wait, cimmitting scripts is a Team Create feature, if you’re the only one using it why do you have Team Create on?
April 3, 2023, 12:59pm
I’m working with a modeler. Also, I like the committing at set intervals so there’s clear and easy script reverting.
April 3, 2023, 2:15pm
Okay, I suggest if you don’t want all of the commuting scripts problem you could copy all of the world in a place tag to only yours and get the models from teh Modeler and script them so you don’t have to commit scripts, but it’s your choice in the end
April 3, 2023, 2:47pm
Could someone make this a feature request? I don’t have permission in the Studio Features page.
All you need to do is save the game to commit all.
April 3, 2023, 3:19pm
It doesn’t commit when I save.
Well I know for a fact that closing the scripts will commit them? So you can spam
to close them all to quickly commit. Ctrl + W
April 3, 2023, 3:29pm
No? Do you have Collaborative Scripting enabled?
April 3, 2023, 4:31pm
Make a bug report to
@bug-support but instead of a bug send them a # in the right format, if your luckily after 1 week it’ll get accepted and moved there feature-requests
April 17, 2023, 4:32pm
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.