After making a recent push to my production plugin, I’m seeing this error even though it IS defined in my manifest.
Error: in get_currentUser: "currentuser" permission not specified in manifest.json. Add the following to your manifest.json: "permissions": ["currentuser"]. See https://www.figma.com/plugin-docs/manifest/#permissions for more details.
manifest.json
{
"name": MY_NAME,
"id": MY_ID,
"api": "1.0.0",
"main": "dist/code.cjs",
"enableProposedApi": false,
"enablePrivatePluginApi": true,
"editorType": ["figma", "figjam"],
"permissions": ["currentuser"],
"networkAccess": {
"allowedDomains": ["*"],
"reasoning": "Internet access for local development."
}
}