Premium only subs are blocked from using Devvit apps
Details
Premium only subs (easiest to create via old reddit) can not use devvit apps.
Repro:
- Create a premium only sub on old.reddit using a normal user account
- Install any app from http://developers.reddit.com|developers.reddit.com that is known to add a sub menu item (eg community-hub app) to the premium only sub.
- Note that a “Something went wrong” message appears when visiting the app’s installation settings for that sub on http://developers.reddit.com|developers.reddit.com
- Note that an error message appears when the sub menu item is triggered. Decoding the error from browser console via base64 reveals a grpc permissions error
Additional info
Discord message: _Hi <@892039441093365801>, I tried installing a Devvit app on a Premium only sub (the kind you can only seem to make via old Reddit) and got an error from your gateway (decoded from base64 and redacted where indicated) when I tried to run a Devvit sub menu item action:
grpc-message:permission denied for subreddit <redacted id>, type: GOLD_ONLY grpc-status:7
Also, the app settings return a "Something went wrong" when I try visiting them on http://developers.reddit.com|developers.reddit.com. I used more than 1 premium only sub to verify its not a sub specific issue.
Suggested repro steps:
- go to old reddit using an non admin test account
- make a new "premium only" sub (or use your admin account to change the type of an existing sub to premium only)
- install to the premium only sub any random app from http://developers.reddit.com|developers.reddit.com that uses Devvit.addMenuItem to add a menu item
- attempt to trigger the menu item
- note error identical to one I have shown (bar text padding) in network tab of browser dev tools
- visit http://developers.reddit.com|developers.reddit.com community specific app page (e.g. https://developers.reddit.com/r/<your-sub>/apps/<name-of-app>) and note the error under installation settings.
I previously tried to reach out via modmail (https://www.reddit.com/message/messages/2gtch6k, https://www.reddit.com/message/messages/2jh2rs7) but the message must have gotten lost somewhere.
Is there any way you could reach out to see if this is an issue that can be fixed?_
Message author: triplebyte
Discord link: https://discord.com/channels/1050224141732687912/1050227353311248404/1342529439543590973