Developers are absolutely terrible with APIs like this and will just go the shortest route to get their feature working.
"Don't trust developer" is absolutely the right thing to do here, because developers WILL try to trick user into getting them more access than required